mirror of https://github.com/ColorlibHQ/AdminLTE
fix iframe unique name with special chars
parent
077599d1cc
commit
f8ce13b9fa
|
@ -133,7 +133,7 @@ class IFrame {
|
|||
return
|
||||
}
|
||||
|
||||
this.createTab(title, link, link.replace('.html', '').replace('./', '').replaceAll('/', '-'), autoOpen)
|
||||
this.createTab(title, link, link.replace('.html', '').replace('./', '').replace(/["&'./=?[\]]/gi, '-').replaceAll('--', ''), autoOpen)
|
||||
}
|
||||
|
||||
switchTab(item) {
|
||||
|
|
Loading…
Reference in New Issue