1
0

Updated 2k11 to what I consider to be v1.0. Yay!

This commit is contained in:
Matthias Mees
2011-11-30 22:35:16 +01:00
parent dea13b461e
commit 4cb2714995
4 changed files with 22 additions and 5 deletions

@ -22,6 +22,15 @@ jQuery(document).ready(function($) {
var deleteMsg = $(this).attr('title');
return confirm(deleteMsg);
});
// Move preview comment in the DOM to fix comment preview
$('#c').insertAfter('#feedback');
// Hide reply-to form element
$('.comment_reply').click(function() {
$('#reply-to-comment').remove();
var replyToPlaceholder = '<p id="reply-to-comment">' + $('#reply-to-hint').text() + ' ' + $('#serendipity_replyTo :selected').text() + '</p>';
$('#serendipity_replyTo').after(replyToPlaceholder);
});
$('#reply-to-hint, #serendipity_replyTo').addClass('visuallyhidden');
// Cloned primary navigation for small screen
var $select = $('<select/>');
$('#primary-nav li').each(function() {