diff --git a/4chan_x.js b/4chan_x.js index 0a238fc57..b66614f36 100644 --- a/4chan_x.js +++ b/4chan_x.js @@ -921,7 +921,7 @@ var dialog, hiddenNum, hiddenThreads, html, input, _i, _len, _ref; hiddenThreads = $.getValue("hiddenThreads/" + g.BOARD + "/", {}); hiddenNum = Object.keys(g.hiddenReplies).length + Object.keys(hiddenThreads).length; - html = "
Options X



Sauce flavors
Donate
support throd | github | uso
"; + html = "
Options X



Sauce flavors
Donate
support throd | github | uso
"; dialog = ui.dialog('options', { top: '25%', left: '25%' @@ -1052,9 +1052,10 @@ if ($.config('Cooldown')) { if (qr.cooldown()) { e.preventDefault(); - alert('Stop posting so often!'); if (isQR) { $('#error').textContent = 'Stop posting so often!'; + } else { + alert('Stop posting so often!'); } return; } diff --git a/script.coffee b/script.coffee index 7081a832c..f2bf0d7b8 100644 --- a/script.coffee +++ b/script.coffee @@ -710,7 +710,7 @@ options =
Sauce flavors
-
Donate
+
Donate
support throd | github | uso
@@ -818,10 +818,11 @@ qr = # check if we've posted on this board in another tab if qr.cooldown() e.preventDefault() - alert 'Stop posting so often!' if isQR $('#error').textContent = 'Stop posting so often!' + else + alert 'Stop posting so often!' return