1
0
mirror of synced 2024-11-26 06:46:04 +03:00

Merge pull request #345 from Polonious/master

Predictable contain id
This commit is contained in:
Igor Vaynberg 2012-08-17 23:25:54 -07:00
commit 64ec0c5e89

View File

@ -559,7 +559,7 @@
this.enabled=true;
this.container = this.createContainer();
this.containerId="s2id"+nextUid();
this.containerId="s2id_"+(opts.element.attr("id") || "autogen"+nextUid());
this.container.attr("id", this.containerId);
// cache the body so future lookups are cheap