mirror of https://github.com/ColorlibHQ/AdminLTE
remove debug console.log from IFrame plugin
parent
472c1622cf
commit
e0a5aa8541
|
@ -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}`)
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue