From 7930db0c81ced363af7d660375abcbedd59efe22 Mon Sep 17 00:00:00 2001 From: Zixaphir Date: Tue, 28 Jan 2014 01:37:10 -0700 Subject: [PATCH] Fix #534 --- builds/appchan-x.user.js | 2 +- builds/crx/script.js | 2 +- src/General/Navigate.coffee | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/builds/appchan-x.user.js b/builds/appchan-x.user.js index 787f01a1b..777563f00 100644 --- a/builds/appchan-x.user.js +++ b/builds/appchan-x.user.js @@ -15881,7 +15881,7 @@ }, navigate: function(e) { 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; } $.addClass(Index.button, 'fa-spin'); diff --git a/builds/crx/script.js b/builds/crx/script.js index df81f229e..113691f50 100644 --- a/builds/crx/script.js +++ b/builds/crx/script.js @@ -15886,7 +15886,7 @@ }, navigate: function(e) { 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; } $.addClass(Index.button, 'fa-spin'); diff --git a/src/General/Navigate.coffee b/src/General/Navigate.coffee index 81253f770..5656e55d0 100644 --- a/src/General/Navigate.coffee +++ b/src/General/Navigate.coffee @@ -166,7 +166,7 @@ Navigate = navigate: (e) -> 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'