remove debug console.log from IFrame plugin

This commit is contained in:
REJack
2021-02-10 08:42:36 +01:00
parent 472c1622cf
commit e0a5aa8541

View File

@@ -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}`)
}