From e0a5aa85415f0eaef88b57ce67a56604edd6f40c Mon Sep 17 00:00:00 2001 From: REJack Date: Wed, 10 Feb 2021 08:42:36 +0100 Subject: [PATCH] remove debug console.log from IFrame plugin --- build/js/IFrame.js | 5 ----- 1 file changed, 5 deletions(-) diff --git a/build/js/IFrame.js b/build/js/IFrame.js index cc7a7d904..311b1ddd4 100644 --- a/build/js/IFrame.js +++ b/build/js/IFrame.js @@ -143,11 +143,6 @@ class IFrame { const uniqueName = link.replace('.html', '').replace('./', '').replace(/["&'./=?[\]]/gi, '-').replace(/(--)/gi, '') const navId = `tab-${uniqueName}` - // eslint-disable-next-line no-console - console.log($(`#${navId}`)) - // eslint-disable-next-line no-console - console.log(!this._config.allowDuplicates && $(`#${navId}`).length === 0) - if (!this._config.allowDuplicates && $(`#${navId}`).length > 0) { return this.switchTab(`#${navId}`) }