Better
This commit is contained in:
parent
b3da171392
commit
e7e411142f
@ -2450,13 +2450,12 @@
|
||||
return $.add(strong, a);
|
||||
},
|
||||
update: function(pageNum) {
|
||||
var board, now, onload, _ref, _ref1;
|
||||
var now, onload, _ref, _ref1;
|
||||
if (!navigator.onLine) {
|
||||
return;
|
||||
}
|
||||
if (d.readyState !== 'loading' && Index.root.parentElement) {
|
||||
board = $('.board');
|
||||
$.replace(board, Index.root);
|
||||
if (!(d.readyState === 'loading' || Index.root.parentElement)) {
|
||||
$.replace($('.board', Index.root));
|
||||
}
|
||||
if ((_ref = Index.req) != null) {
|
||||
_ref.abort();
|
||||
|
||||
@ -2460,13 +2460,12 @@
|
||||
return $.add(strong, a);
|
||||
},
|
||||
update: function(pageNum) {
|
||||
var board, now, onload, _ref, _ref1;
|
||||
var now, onload, _ref, _ref1;
|
||||
if (!navigator.onLine) {
|
||||
return;
|
||||
}
|
||||
if (d.readyState !== 'loading' && Index.root.parentElement) {
|
||||
board = $('.board');
|
||||
$.replace(board, Index.root);
|
||||
if (!(d.readyState === 'loading' || Index.root.parentElement)) {
|
||||
$.replace($('.board', Index.root));
|
||||
}
|
||||
if ((_ref = Index.req) != null) {
|
||||
_ref.abort();
|
||||
|
||||
@ -203,9 +203,8 @@ Index =
|
||||
|
||||
update: (pageNum) ->
|
||||
return unless navigator.onLine
|
||||
if d.readyState isnt 'loading' and Index.root.parentElement
|
||||
board = $ '.board'
|
||||
$.replace board, Index.root
|
||||
unless d.readyState is 'loading' or Index.root.parentElement
|
||||
$.replace $ '.board', Index.root
|
||||
Index.req?.abort()
|
||||
Index.notice?.close()
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user