Honestly not worth pursuing errors during nav on QR.status
This commit is contained in:
parent
daa3f9d2cc
commit
b848007865
@ -9623,12 +9623,12 @@
|
||||
return QR.notifications = [];
|
||||
},
|
||||
status: function() {
|
||||
var disabled, status, thread, value;
|
||||
var disabled, status, thread, value, _ref;
|
||||
if (!QR.nodes) {
|
||||
return;
|
||||
}
|
||||
thread = QR.posts[0].thread;
|
||||
if (thread !== 'new' && g.threads["" + g.BOARD + "." + thread].isDead) {
|
||||
if (thread !== 'new' && ((_ref = g.threads["" + g.BOARD + "." + thread]) != null ? _ref.isDead : void 0)) {
|
||||
value = 'Dead';
|
||||
disabled = true;
|
||||
QR.cooldown.auto = false;
|
||||
|
||||
@ -9666,12 +9666,12 @@
|
||||
return QR.notifications = [];
|
||||
},
|
||||
status: function() {
|
||||
var disabled, status, thread, value;
|
||||
var disabled, status, thread, value, _ref;
|
||||
if (!QR.nodes) {
|
||||
return;
|
||||
}
|
||||
thread = QR.posts[0].thread;
|
||||
if (thread !== 'new' && g.threads["" + g.BOARD + "." + thread].isDead) {
|
||||
if (thread !== 'new' && ((_ref = g.threads["" + g.BOARD + "." + thread]) != null ? _ref.isDead : void 0)) {
|
||||
value = 'Dead';
|
||||
disabled = true;
|
||||
QR.cooldown.auto = false;
|
||||
|
||||
@ -197,7 +197,7 @@ QR =
|
||||
status: ->
|
||||
return unless QR.nodes
|
||||
{thread} = QR.posts[0]
|
||||
if thread isnt 'new' and g.threads["#{g.BOARD}.#{thread}"].isDead
|
||||
if thread isnt 'new' and g.threads["#{g.BOARD}.#{thread}"]?.isDead
|
||||
value = 'Dead'
|
||||
disabled = true
|
||||
QR.cooldown.auto = false
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user