diff options
| author | czaks <marcin@6irc.net> | 2013-12-23 00:12:04 +0100 |
|---|---|---|
| committer | czaks <marcin@6irc.net> | 2013-12-23 00:12:04 +0100 |
| commit | 6620c10b7b8ff34fcd3093fe5a78e28e0591d600 (patch) | |
| tree | c06d2583cc456484460bbe8d8080b928f4f337a3 /js/quick-reply.js | |
| parent | 803704db6d17c0899a8a85ae89a9ece4a2a71c80 (diff) | |
quick-reply.js: reposition the elements
Diffstat (limited to 'js/quick-reply.js')
| -rw-r--r-- | js/quick-reply.js | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/js/quick-reply.js b/js/quick-reply.js index 2580137b..fed865c1 100644 --- a/js/quick-reply.js +++ b/js/quick-reply.js @@ -29,7 +29,7 @@ $('<style type="text/css" id="quick-reply-css">\ #quick-reply {\ position: fixed;\ - right: 0;\ + right: 5%;\ top: 5%;\ float: right;\ display: block;\ @@ -388,20 +388,20 @@ }); var floating_link = function() { - if (!settings.get('floating_link', false)) + if (!settings.get('floating_link', true)) return; $('<a href="javascript:void(0)" class="quick-reply-btn">Quick Reply</a>') .click(function() { show_quick_reply(); $(this).remove(); - }).prependTo($('body')); + }).appendTo($('body')); $(window).on('quick-reply', function() { $('.quick-reply-btn').remove(); }); }; - if (settings.get('floating_link', false)) { + if (settings.get('floating_link', true)) { $(window).ready(function() { if($('div.banner').length == 0) return; @@ -409,7 +409,7 @@ a.quick-reply-btn {\ position: fixed;\ right: 0;\ - top: 0;\ + bottom: 0;\ display: block;\ padding: 5px 13px;\ text-decoration: none;\ |
