@glitchr/transparent 1.0.25 → 1.0.26
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/package.json +1 -1
- package/src/js/transparent.js +2 -3
package/package.json
CHANGED
package/src/js/transparent.js
CHANGED
|
@@ -906,7 +906,6 @@
|
|
|
906
906
|
var head = $(dom).find("head").html();
|
|
907
907
|
var body = $(dom).find("body").html();
|
|
908
908
|
|
|
909
|
-
console.log(head, body);
|
|
910
909
|
if(head == undefined || body == "undefined") {
|
|
911
910
|
|
|
912
911
|
$(Settings.identifier).html("<div class='error'></div>");
|
|
@@ -1221,7 +1220,7 @@
|
|
|
1221
1220
|
|
|
1222
1221
|
$("body").find("script").each(function() { found |= this.isEqualNode(el); });
|
|
1223
1222
|
if(!found) {
|
|
1224
|
-
|
|
1223
|
+
|
|
1225
1224
|
if(this.tagName != "SCRIPT" || Settings["global_code"] == true) $("body").append(this.cloneNode(true));
|
|
1226
1225
|
else $("body").append(this);
|
|
1227
1226
|
}
|
|
@@ -1255,7 +1254,7 @@
|
|
|
1255
1254
|
|
|
1256
1255
|
if(Settings["global_code"] == true) Transparent.evalScript($(page)[0]);
|
|
1257
1256
|
dispatchEvent(new Event('DOMContentLoaded'));
|
|
1258
|
-
|
|
1257
|
+
|
|
1259
1258
|
Transparent.addLayout();
|
|
1260
1259
|
|
|
1261
1260
|
if(scrollTo) {
|