diff --git a/build/js/IFrame.js b/build/js/IFrame.js index 7be90df8a..67f651065 100644 --- a/build/js/IFrame.js +++ b/build/js/IFrame.js @@ -133,7 +133,7 @@ class IFrame { return } - this.createTab(title, link, link.replace('.html', '').replace('./', '').replace(/["&'./=?[\]]/gi, '-').replaceAll('--', ''), autoOpen) + this.createTab(title, link, link.replace('.html', '').replace('./', '').replace(/["&'./=?[\]]/gi, '-').replace(/(--)/gi, ''), autoOpen) } switchTab(item) {