From 820d4aa0e8b91efd64e5d968154e0311970f4af4 Mon Sep 17 00:00:00 2001 From: Teremiare Date: Sat, 23 Jan 2016 13:49:34 +0100 Subject: [PATCH] Add suppress interstice option --- js/battledata.js | 2 +- js/client-topbar.js | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/js/battledata.js b/js/battledata.js index 52a6faa54..767625ccf 100644 --- a/js/battledata.js +++ b/js/battledata.js @@ -554,7 +554,7 @@ var Tools = { onclick = "return selectTab('" + m[1] + "');"; } else { var event; - if (Tools.interstice.isWhitelisted(fulluri)) { + if (Tools.interstice.isWhitelisted(fulluri) || options.hideinterstice) { event = 'External link'; } else { event = 'Interstice link'; diff --git a/js/client-topbar.js b/js/client-topbar.js index 68d755684..e9d012650 100644 --- a/js/client-topbar.js +++ b/js/client-topbar.js @@ -556,6 +556,7 @@ buf += '

'; buf += '

'; buf += '

'; + buf += '

'; buf += '

'; this.$el.html(buf); },