fix body element caching for non attached elements
This commit is contained in:
parent
d6f506e16b
commit
a3383141d5
@ -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…
Reference in New Issue
Block a user