fix iframe mode with hash-links
This commit is contained in:
parent
1098533bcd
commit
26c84e39a3
|
@ -142,7 +142,7 @@ class IFrame {
|
|||
return
|
||||
}
|
||||
|
||||
const uniqueName = link.replace('./', '').replace(/["&'./:=?[\]]/gi, '-').replace(/(--)/gi, '')
|
||||
const uniqueName = link.replace('./', '').replace(/["#&'./:=?[\]]/gi, '-').replace(/(--)/gi, '')
|
||||
const navId = `tab-${uniqueName}`
|
||||
|
||||
if (!this._config.allowDuplicates && $(`#${navId}`).length > 0) {
|
||||
|
|
Loading…
Reference in a new issue