summaryrefslogtreecommitdiff
path: root/js/quick-reply.js
diff options
context:
space:
mode:
authoranonish <anonish@users.noreply.github.com>2015-01-29 21:44:11 -0600
committerczaks <marcin@6irc.net>2015-03-31 06:59:30 +0200
commitc74fc6cefb69e751ee3a8b6c65eeb22f6e499753 (patch)
tree40e4b0fa0a187e7b34b81e46b4d43c816d465b7f /js/quick-reply.js
parent388e87746ef936d6ce6ec04f7e09bbcd17d8e4fc (diff)
QR fix for tablet (portrait) mode in laptops
Quick reply will now show up on tablets in portrait mode where width can be < 800px as originally coded (mainly 768x1280 and 800x1280)
Diffstat (limited to 'js/quick-reply.js')
-rw-r--r--js/quick-reply.js8
1 files changed, 4 insertions, 4 deletions
diff --git a/js/quick-reply.js b/js/quick-reply.js
index 6661501c..a8145607 100644
--- a/js/quick-reply.js
+++ b/js/quick-reply.js
@@ -116,7 +116,7 @@
#quick-reply td.recaptcha-response {\
padding: 0 0 1px 0;\
}\
- @media screen and (max-width: 800px) {\
+ @media screen and (max-width: 600px) {\
#quick-reply {\
display: none !important;\
}\
@@ -364,7 +364,7 @@
$(window).ready(function() {
if (settings.get('hide_at_top', true)) {
$(window).scroll(function() {
- if ($(this).width() <= 800)
+ if ($(this).width() <= 600)
return;
if ($(this).scrollTop() < $origPostForm.offset().top + $origPostForm.height() - 100)
$postForm.fadeOut(100);
@@ -385,7 +385,7 @@
};
$(window).on('cite', function(e, id, with_link) {
- if ($(this).width() <= 800)
+ if ($(this).width() <= 600)
return;
show_quick_reply();
if (with_link) {
@@ -440,7 +440,7 @@
$('.quick-reply-btn').hide();
$(window).scroll(function() {
- if ($(this).width() <= 800)
+ if ($(this).width() <= 600)
return;
if ($(this).scrollTop() < $('form[name="post"]:first').offset().top + $('form[name="post"]:first').height() - 100)
$('.quick-reply-btn').fadeOut(100);