diff --git a/4chan_x.user.js b/4chan_x.user.js index d407e9d91..2c2ec449a 100644 --- a/4chan_x.user.js +++ b/4chan_x.user.js @@ -100,7 +100,7 @@ }, Posting: { 'Auto Noko': [true, 'Always redirect to your post'], - 'Cooldown': [true, 'Prevent \'flood detected\' errors'], + 'Cooldown': [true, 'Prevent `flood detected` errors'], 'Quick Reply': [true, 'Reply without leaving the page'], 'Persistent QR': [false, 'Quick reply won\'t disappear after posting. Only in replies.'], 'Auto Hide QR': [true, 'Automatically auto-hide the quick reply when posting'], @@ -1123,18 +1123,18 @@ innerHTML: '\
\
\ -
\ - \ - | \ - | \ - | \ -
\ \ +
\ + \ + | \ + | \ + | \ +
\
\
\
\ @@ -1197,7 +1197,7 @@ }); for (key in obj) { arr = obj[key]; - checked = conf[key] ? "checked" : ""; + checked = conf[key] ? 'checked' : ''; description = arr[1]; li = $.el('li', { innerHTML: ": " + description + "" @@ -1210,7 +1210,7 @@ hiddenThreads = $.get("hiddenThreads/" + g.BOARD + "/", {}); hiddenNum = Object.keys(g.hiddenReplies).length + Object.keys(hiddenThreads).length; li = $.el('li', { - innerHTML: " : Forget all hidden posts. Useful if you accidentally hide a post and have `show stubs` disabled." + innerHTML: " : Forget all hidden posts. Useful if you accidentally hide a post and have `Show Stubs` disabled." }); $.bind($('button', li), 'click', options.clearHidden); $.add($('ul:nth-child(2)', dialog), li); @@ -3103,7 +3103,7 @@ width: 500px;\ }\ #credits {\ - text-align: right;\ + float: right;\ }\ #options ul {\ list-style: none;\ @@ -3112,9 +3112,6 @@ #options label {\ text-decoration: underline;\ }\ - #floaty {\ - float: left;\ - }\ #options [name=tab]:not(:checked) + * {\ display: none;\ }\ diff --git a/script.coffee b/script.coffee index e923f819d..472399f3e 100644 --- a/script.coffee +++ b/script.coffee @@ -31,7 +31,7 @@ config = 'Auto Watch Reply': [false, 'Automatically watch threads that you reply to'] Posting: 'Auto Noko': [true, 'Always redirect to your post'] - 'Cooldown': [true, 'Prevent \'flood detected\' errors'] + 'Cooldown': [true, 'Prevent `flood detected` errors'] 'Quick Reply': [true, 'Reply without leaving the page'] 'Persistent QR': [false, 'Quick reply won\'t disappear after posting. Only in replies.'] 'Auto Hide QR': [true, 'Automatically auto-hide the quick reply when posting'] @@ -799,18 +799,18 @@ options = dialog = $.el 'div', id: 'options', innerHTML: '
-
- - | - | - | -
+
+ + | + | + | +

@@ -870,7 +870,7 @@ options = ul = $.el 'ul', textContent: key for key, arr of obj - checked = if conf[key] then "checked" else "" + checked = if conf[key] then 'checked' else '' description = arr[1] li = $.el 'li', innerHTML: ": #{description}" @@ -881,7 +881,7 @@ options = hiddenThreads = $.get "hiddenThreads/#{g.BOARD}/", {} hiddenNum = Object.keys(g.hiddenReplies).length + Object.keys(hiddenThreads).length li = $.el 'li', - innerHTML: " : Forget all hidden posts. Useful if you accidentally hide a post and have `show stubs` disabled." + innerHTML: " : Forget all hidden posts. Useful if you accidentally hide a post and have `Show Stubs` disabled." $.bind $('button', li), 'click', options.clearHidden $.add $('ul:nth-child(2)', dialog), li @@ -2362,7 +2362,7 @@ Main = width: 500px; } #credits { - text-align: right; + float: right; } #options ul { list-style: none; @@ -2371,9 +2371,6 @@ Main = #options label { text-decoration: underline; } - #floaty { - float: left; - } #options [name=tab]:not(:checked) + * { display: none; }