diff --git a/app/preload.js b/app/preload.js index 32f53c8778..970f1a41e6 100644 --- a/app/preload.js +++ b/app/preload.js @@ -18,7 +18,9 @@ var supportExternalLinks = function (e) { var checkDomElement = function (element) { if (element.nodeName === 'A') { - href = element.getAttribute('href') || ''; + if (element.classList.contains('swipebox') == false) { + href = element.getAttribute('href') || ''; + } } if (/^https?:\/\/.+/.test(href) === true /*&& RegExp('^https?:\/\/'+location.host).test(href) === false*/) {