1
0
mirror of synced 2025-02-04 06:09:23 +03:00

Merge pull request #219 from malekpour/master

body element caching bug fix
This commit is contained in:
Igor Vaynberg 2012-07-16 01:22:47 -07:00
commit 2befc347c5

View File

@ -429,7 +429,7 @@
this.enabled=true;
this.container = this.createContainer();
this.body = opts.element.closest("body"); // cache for future access
this.body = $("body"); // opts.element.closest("body"); // cache for future access
if (opts.element.attr("class") !== undefined) {
this.container.addClass(opts.element.attr("class"));