|
|
@ -12,6 +12,9 @@ |
|
|
|
* |
|
|
|
*/ |
|
|
|
|
|
|
|
(function() { |
|
|
|
var settings = new script_settings('quick-reply'); |
|
|
|
|
|
|
|
var do_css = function() { |
|
|
|
$('#quick-reply-css').remove(); |
|
|
|
|
|
|
@ -333,6 +336,7 @@ var show_quick_reply = function(){ |
|
|
|
$(window).trigger('quick-reply'); |
|
|
|
|
|
|
|
$(window).ready(function() { |
|
|
|
if (settings.get('hide_at_top', true)) { |
|
|
|
$(window).scroll(function() { |
|
|
|
if ($(this).width() <= 800) |
|
|
|
return; |
|
|
@ -340,12 +344,17 @@ var show_quick_reply = function(){ |
|
|
|
$postForm.fadeOut(100); |
|
|
|
else |
|
|
|
$postForm.fadeIn(100); |
|
|
|
}).on('stylesheet', function() { |
|
|
|
}).scroll(); |
|
|
|
} else { |
|
|
|
$postForm.show(); |
|
|
|
} |
|
|
|
|
|
|
|
$(window).on('stylesheet', function() { |
|
|
|
do_css(); |
|
|
|
if ($('link#stylesheet').attr('href')) { |
|
|
|
$('link#stylesheet')[0].onload = do_css; |
|
|
|
} |
|
|
|
}).scroll(); |
|
|
|
}); |
|
|
|
}); |
|
|
|
}; |
|
|
|
|
|
|
@ -363,3 +372,4 @@ $(window).on('cite', function(e, id, with_link) { |
|
|
|
}); |
|
|
|
} |
|
|
|
}); |
|
|
|
})(); |
|
|
|