diff --git a/4chan_x.user.js b/4chan_x.user.js
index ffd767116..2c42e44ea 100644
--- a/4chan_x.user.js
+++ b/4chan_x.user.js
@@ -1259,7 +1259,7 @@
},
error: function(err, node) {
var el;
- el = $('.error', qr.el);
+ el = $('.warning', qr.el);
el.textContent = err;
if (node) $.replace(el.firstChild, node);
qr.open();
@@ -1268,7 +1268,7 @@
}
},
cleanError: function() {
- return $('.error', qr.el).textContent = null;
+ return $('.warning', qr.el).textContent = null;
},
status: function(data) {
var disabled, input, value;
@@ -1540,7 +1540,7 @@
});
qr.mimeTypes = mimeTypes.split(', ');
qr.spoiler = !!$('#com_submit + label');
- qr.el = ui.dialog('qr', 'top:0;right:0;', "
");
+ qr.el = ui.dialog('qr', 'top:0;right:0;', "");
if (!g.REPLY) {
$.on($('select', qr.el), 'mousedown', function(e) {
return e.stopPropagation();
@@ -1837,12 +1837,12 @@
\
\
\
-
Sauce is disabled.
\
+
Sauce is disabled.
\
\
\
\
\
-
Filter is disabled.
\
+
Filter is disabled.
\
Use
regular expressions, one per line.
\
For example,
/weeaboo/i will filter posts containing `weeaboo` case-insensitive.\
Name:
\
@@ -1856,12 +1856,12 @@
\
\
\
-
Quote Backlinks are disabled.
\
+
Quote Backlinks are disabled.
\
\
-
Time Formatting is disabled.
\
+
Time Formatting is disabled.
\
\
-
Unread Count is disabled.
\
+
Unread Count is disabled.
\
Unread favicons
\
\
\
\
-
Keybinds are disabled.
\
+
Keybinds are disabled.
\
\
| Actions | Keybinds |
\
| Open Options | |
\
@@ -1963,7 +1963,7 @@
$.on(input, 'keydown', options.keybind);
}
indicators = {};
- _ref4 = $$('.error', dialog);
+ _ref4 = $$('.warning', dialog);
for (_k = 0, _len3 = _ref4.length; _k < _len3; _k++) {
indicator = _ref4[_k];
key = indicator.firstChild.textContent;
@@ -2227,7 +2227,7 @@
if (this.status === 404) {
updater.timer.textContent = '';
updater.count.textContent = 404;
- updater.count.className = 'error';
+ updater.count.className = 'warning';
clearTimeout(updater.timeoutID);
d.title = d.title.match(/^.+-/)[0] + ' 404';
g.dead = true;
@@ -2256,7 +2256,7 @@
});
if ($('title', body).textContent === '4chan - Banned') {
updater.count.textContent = 'Banned';
- updater.count.className = 'error';
+ updater.count.className = 'warning';
return;
}
id = ((_ref = $('td[id]', updater.br.previousElementSibling)) != null ? _ref.id : void 0) || 0;
@@ -2939,7 +2939,7 @@
imgcount = $.id('imagecount');
imgcount.textContent = ++threadStats.images;
if (threadStats.images > threadStats.imgLimit) {
- return imgcount.className = 'error';
+ return imgcount.className = 'warning';
}
}
};
@@ -3596,15 +3596,9 @@ textarea.field {\
.new {\
background: lime;\
}\
-.error {\
+.warning {\
color: red;\
}\
-#error {\
- cursor: default;\
-}\
-#error[href] {\
- cursor: pointer;\
-}\
td.replyhider {\
vertical-align: top;\
}\
diff --git a/script.coffee b/script.coffee
index 4ef1c8498..9d84694ab 100644
--- a/script.coffee
+++ b/script.coffee
@@ -906,13 +906,13 @@ qr =
$.removeClass qr.el, 'autohide'
error: (err, node) ->
- el = $('.error', qr.el)
+ el = $('.warning', qr.el)
el.textContent = err
$.replace el.firstChild, node if node
qr.open()
alert err if d.hidden or d.oHidden or d.mozHidden or d.webkitHidden
cleanError: ->
- $('.error', qr.el).textContent = null
+ $('.warning', qr.el).textContent = null
status: (data={}) ->
if data.ready
@@ -1134,7 +1134,7 @@ qr =
-
+
"
unless g.REPLY
$.on $('select', qr.el), 'mousedown', (e) -> e.stopPropagation()
@@ -1380,12 +1380,12 @@ options =
-
Sauce is disabled.
+
Sauce is disabled.
-
Filter is disabled.
+
Filter is disabled.
Use
regular expressions, one per line.
For example,
/weeaboo/i will filter posts containing `weeaboo` case-insensitive.
Name:
@@ -1399,12 +1399,12 @@ options =
-
Quote Backlinks are disabled.
+
Quote Backlinks are disabled.
-
Time Formatting is disabled.
+
Time Formatting is disabled.
-
Unread Count is disabled.
+
Unread Count is disabled.
Unread favicons
-
Keybinds are disabled.
+
Keybinds are disabled.
| Actions | Keybinds |
| Open Options | |
@@ -1502,7 +1502,7 @@ options =
#indicate if the settings require a feature to be enabled
indicators = {}
- for indicator in $$ '.error', dialog
+ for indicator in $$ '.warning', dialog
key = indicator.firstChild.textContent
indicator.hidden = conf[key]
indicators[key] = indicator
@@ -1720,7 +1720,7 @@ updater =
if @status is 404
updater.timer.textContent = ''
updater.count.textContent = 404
- updater.count.className = 'error'
+ updater.count.className = 'warning'
clearTimeout updater.timeoutID
d.title = d.title.match(/^.+-/)[0] + ' 404'
g.dead = true
@@ -1750,7 +1750,7 @@ updater =
#this only works on Chrome because of cross origin policy
if $('title', body).textContent is '4chan - Banned'
updater.count.textContent = 'Banned'
- updater.count.className = 'error'
+ updater.count.className = 'warning'
return
id = $('td[id]', updater.br.previousElementSibling)?.id or 0
@@ -2226,7 +2226,7 @@ threadStats =
imgcount = $.id 'imagecount'
imgcount.textContent = ++threadStats.images
if threadStats.images > threadStats.imgLimit
- imgcount.className = 'error'
+ imgcount.className = 'warning'
unread =
init: ->
@@ -2835,15 +2835,9 @@ textarea.field {
.new {
background: lime;
}
-.error {
+.warning {
color: red;
}
-#error {
- cursor: default;
-}
-#error[href] {
- cursor: pointer;
-}
td.replyhider {
vertical-align: top;
}