remove debug console.log from IFrame plugin

pull/3395/head
REJack 2021-02-10 08:42:36 +01:00
parent 472c1622cf
commit e0a5aa8541
1 changed files with 0 additions and 5 deletions

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