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 = [];
|
return QR.notifications = [];
|
||||||
},
|
},
|
||||||
status: function() {
|
status: function() {
|
||||||
var disabled, status, thread, value;
|
var disabled, status, thread, value, _ref;
|
||||||
if (!QR.nodes) {
|
if (!QR.nodes) {
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
thread = QR.posts[0].thread;
|
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';
|
value = 'Dead';
|
||||||
disabled = true;
|
disabled = true;
|
||||||
QR.cooldown.auto = false;
|
QR.cooldown.auto = false;
|
||||||
|
|||||||
@ -9666,12 +9666,12 @@
|
|||||||
return QR.notifications = [];
|
return QR.notifications = [];
|
||||||
},
|
},
|
||||||
status: function() {
|
status: function() {
|
||||||
var disabled, status, thread, value;
|
var disabled, status, thread, value, _ref;
|
||||||
if (!QR.nodes) {
|
if (!QR.nodes) {
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
thread = QR.posts[0].thread;
|
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';
|
value = 'Dead';
|
||||||
disabled = true;
|
disabled = true;
|
||||||
QR.cooldown.auto = false;
|
QR.cooldown.auto = false;
|
||||||
|
|||||||
@ -197,7 +197,7 @@ QR =
|
|||||||
status: ->
|
status: ->
|
||||||
return unless QR.nodes
|
return unless QR.nodes
|
||||||
{thread} = QR.posts[0]
|
{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'
|
value = 'Dead'
|
||||||
disabled = true
|
disabled = true
|
||||||
QR.cooldown.auto = false
|
QR.cooldown.auto = false
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user