Merge branch 'v3'
This commit is contained in:
commit
ceb8c93b08
@ -16375,6 +16375,11 @@
|
|||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
if (this.pathname === Navigate.path) {
|
if (this.pathname === Navigate.path) {
|
||||||
|
if (g.VIEW === 'thread') {
|
||||||
|
ThreadUpdater.update();
|
||||||
|
} else {
|
||||||
|
Index.update();
|
||||||
|
}
|
||||||
e.preventDefault();
|
e.preventDefault();
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|||||||
@ -16395,6 +16395,11 @@
|
|||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
if (this.pathname === Navigate.path) {
|
if (this.pathname === Navigate.path) {
|
||||||
|
if (g.VIEW === 'thread') {
|
||||||
|
ThreadUpdater.update();
|
||||||
|
} else {
|
||||||
|
Index.update();
|
||||||
|
}
|
||||||
e.preventDefault();
|
e.preventDefault();
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|||||||
@ -153,7 +153,13 @@ Navigate =
|
|||||||
navigate: (e) ->
|
navigate: (e) ->
|
||||||
return if @hostname isnt 'boards.4chan.org' or window.location.hostname is 'rs.4chan.org'
|
return if @hostname isnt 'boards.4chan.org' or window.location.hostname is 'rs.4chan.org'
|
||||||
return if e and (e.shiftKey or e.ctrlKey or (e.type is 'click' and e.button isnt 0)) # Not simply a left click
|
return if e and (e.shiftKey or e.ctrlKey or (e.type is 'click' and e.button isnt 0)) # Not simply a left click
|
||||||
|
|
||||||
|
|
||||||
if @pathname is Navigate.path
|
if @pathname is Navigate.path
|
||||||
|
if g.VIEW is 'thread'
|
||||||
|
ThreadUpdater.update()
|
||||||
|
else
|
||||||
|
Index.update()
|
||||||
e.preventDefault()
|
e.preventDefault()
|
||||||
return
|
return
|
||||||
|
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user