escape special characters in containerId selector
This commit is contained in:
parent
881d2fabd3
commit
3276e22ab6
1 changed files with 1 additions and 1 deletions
|
@ -942,7 +942,7 @@
|
|||
*/
|
||||
// abstract
|
||||
opening: function() {
|
||||
var cid = this.containerId, selector = "#"+ cid,
|
||||
var cid = this.containerId, selector = "#"+ cid.replace(/([;&,\.\+\*\~':"\!\^#$%@\[\]\(\)=>\|])/g, '\\$1'),
|
||||
scroll = "scroll." + cid, resize = "resize." + cid;
|
||||
|
||||
this.container.parents().each(function() {
|
||||
|
|
Loading…
Add table
Reference in a new issue