mirror of https://github.com/ColorlibHQ/AdminLTE
fix iframe mode with hash-links
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 New Issue