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