...and how about not breaking the Index features in the process?
This commit is contained in:
parent
22c244ce69
commit
b3da171392
@ -2454,7 +2454,7 @@
|
||||
if (!navigator.onLine) {
|
||||
return;
|
||||
}
|
||||
if (!Index.root.parentElement) {
|
||||
if (d.readyState !== 'loading' && Index.root.parentElement) {
|
||||
board = $('.board');
|
||||
$.replace(board, Index.root);
|
||||
}
|
||||
|
||||
@ -2464,7 +2464,7 @@
|
||||
if (!navigator.onLine) {
|
||||
return;
|
||||
}
|
||||
if (!Index.root.parentElement) {
|
||||
if (d.readyState !== 'loading' && Index.root.parentElement) {
|
||||
board = $('.board');
|
||||
$.replace(board, Index.root);
|
||||
}
|
||||
|
||||
@ -203,7 +203,7 @@ Index =
|
||||
|
||||
update: (pageNum) ->
|
||||
return unless navigator.onLine
|
||||
unless Index.root.parentElement
|
||||
if d.readyState isnt 'loading' and Index.root.parentElement
|
||||
board = $ '.board'
|
||||
$.replace board, Index.root
|
||||
Index.req?.abort()
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user