Parcourir la source

remove debug console.log from IFrame plugin

REJack il y a 4 ans
Parent
commit
e0a5aa8541
1 fichiers modifiés avec 0 ajouts et 5 suppressions
  1. 0 5
      build/js/IFrame.js

+ 0 - 5
build/js/IFrame.js

@@ -143,11 +143,6 @@ class IFrame {
     const uniqueName = link.replace('.html', '').replace('./', '').replace(/["&'./=?[\]]/gi, '-').replace(/(--)/gi, '')
     const uniqueName = link.replace('.html', '').replace('./', '').replace(/["&'./=?[\]]/gi, '-').replace(/(--)/gi, '')
     const navId = `tab-${uniqueName}`
     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) {
     if (!this._config.allowDuplicates && $(`#${navId}`).length > 0) {
       return this.switchTab(`#${navId}`)
       return this.switchTab(`#${navId}`)
     }
     }