Fix #534
This commit is contained in:
parent
f4c8ebd233
commit
7930db0c81
@ -15881,7 +15881,7 @@
|
|||||||
},
|
},
|
||||||
navigate: function(e) {
|
navigate: function(e) {
|
||||||
var boardID, load, pageNum, path, threadID, view;
|
var boardID, load, pageNum, path, threadID, view;
|
||||||
if (this.hostname !== 'boards.4chan.org' || window.location.hostname === 'rs.4chan.org' || (e && (e.shiftKey || (e.type === 'click' && e.button !== 0)))) {
|
if (this.hostname !== 'boards.4chan.org' || window.location.hostname === 'rs.4chan.org' || (e && (e.shiftKey || e.ctrlKey || (e.type === 'click' && e.button !== 0)))) {
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
$.addClass(Index.button, 'fa-spin');
|
$.addClass(Index.button, 'fa-spin');
|
||||||
|
|||||||
@ -15886,7 +15886,7 @@
|
|||||||
},
|
},
|
||||||
navigate: function(e) {
|
navigate: function(e) {
|
||||||
var boardID, load, pageNum, path, threadID, view;
|
var boardID, load, pageNum, path, threadID, view;
|
||||||
if (this.hostname !== 'boards.4chan.org' || window.location.hostname === 'rs.4chan.org' || (e && (e.shiftKey || (e.type === 'click' && e.button !== 0)))) {
|
if (this.hostname !== 'boards.4chan.org' || window.location.hostname === 'rs.4chan.org' || (e && (e.shiftKey || e.ctrlKey || (e.type === 'click' && e.button !== 0)))) {
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
$.addClass(Index.button, 'fa-spin');
|
$.addClass(Index.button, 'fa-spin');
|
||||||
|
|||||||
@ -166,7 +166,7 @@ Navigate =
|
|||||||
|
|
||||||
navigate: (e) ->
|
navigate: (e) ->
|
||||||
return if @hostname isnt 'boards.4chan.org' or window.location.hostname is 'rs.4chan.org' or
|
return if @hostname isnt 'boards.4chan.org' or window.location.hostname is 'rs.4chan.org' or
|
||||||
(e and (e.shiftKey or (e.type is 'click' and e.button isnt 0))) # Not simply a left click
|
(e and (e.shiftKey or e.ctrlKey or (e.type is 'click' and e.button isnt 0))) # Not simply a left click
|
||||||
|
|
||||||
$.addClass Index.button, 'fa-spin'
|
$.addClass Index.button, 'fa-spin'
|
||||||
|
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user