fix iframe mode with hash-links
This commit is contained in:
@@ -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) {
|
||||
|
||||
Reference in New Issue
Block a user