small bugfixes

This commit is contained in:
Michael Foster 2013-09-16 06:44:33 +10:00
parent dd1bec687b
commit 7d3b249fee

View File

@ -259,10 +259,11 @@ var show_quick_reply = function(){
} }
$postForm.find('th .close-btn').click(function() { $postForm.find('th .close-btn').click(function() {
$origPostForm.find('textarea[name="body"]').attr('id', 'body');
$postForm.remove(); $postForm.remove();
}); });
$postForm.show(); // $postForm.show();
$(window).trigger('quick-reply'); $(window).trigger('quick-reply');
$(window).ready(function() { $(window).ready(function() {
@ -278,7 +279,7 @@ var show_quick_reply = function(){
if ($('link#stylesheet').attr('href')) { if ($('link#stylesheet').attr('href')) {
$('link#stylesheet')[0].onload = do_css; $('link#stylesheet')[0].onload = do_css;
} }
}); }).scroll();
}); });
}; };