Merge pull request #219 from malekpour/master
body element caching bug fix
This commit is contained in:
commit
2befc347c5
@ -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"));
|
||||
|
Loading…
x
Reference in New Issue
Block a user