summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--js/quick-reply.js2
1 files changed, 2 insertions, 0 deletions
diff --git a/js/quick-reply.js b/js/quick-reply.js
index ea56b984..b87b5050 100644
--- a/js/quick-reply.js
+++ b/js/quick-reply.js
@@ -301,6 +301,8 @@ var show_quick_reply = function(){
if (typeof $postForm.draggable != 'undefined') {
if (localStorage.quickReplyPosition) {
var offset = JSON.parse(localStorage.quickReplyPosition);
+ if (offset.top < 0)
+ offset.top = 10;
if (offset.right > $(window).width() - $postForm.width())
offset.right = $(window).width() - $postForm.width();
if (offset.top > $(window).height() - $postForm.height())