diff --git a/4chan_x.user.js b/4chan_x.user.js index a1e4bc206..02b2a40f8 100644 --- a/4chan_x.user.js +++ b/4chan_x.user.js @@ -101,7 +101,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'], @@ -1133,18 +1133,18 @@ innerHTML: '\
\
\ -
\ - \ - | \ - | \ - | \ -
\ \ +
\ + \ + | \ + | \ + | \ +
\
\
\
\ @@ -1207,7 +1207,7 @@ }); for (key in obj) { arr = obj[key]; - checked = conf[key] ? "checked" : ""; + checked = conf[key] ? 'checked' : ''; description = arr[1]; li = $.el('li', { innerHTML: ": " + description + "" @@ -1220,7 +1220,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); @@ -3116,7 +3116,7 @@ width: 500px;\ }\ #credits {\ - text-align: right;\ + float: right;\ }\ #options ul {\ list-style: none;\ @@ -3125,9 +3125,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 cb0b26788..6b30170de 100644 --- a/script.coffee +++ b/script.coffee @@ -32,7 +32,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'] @@ -805,18 +805,18 @@ options = dialog = $.el 'div', id: 'options', innerHTML: '
-
- - | - | - | -
+
+ + | + | + | +

@@ -876,7 +876,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}" @@ -887,7 +887,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 @@ -2371,7 +2371,7 @@ Main = width: 500px; } #credits { - text-align: right; + float: right; } #options ul { list-style: none; @@ -2380,9 +2380,6 @@ Main = #options label { text-decoration: underline; } - #floaty { - float: left; - } #options [name=tab]:not(:checked) + * { display: none; }