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