Skip to content

Commit f65cf16

Browse files
#36 IE compatibility
1 parent 3ca46c2 commit f65cf16

File tree

4 files changed

+4
-4
lines changed

4 files changed

+4
-4
lines changed

dist/htmlgl.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8742,7 +8742,7 @@ will produce an inaccurate conversion value. The same issue exists with the cx/c
87428742

87438743
p.createdCallback = function () {
87448744
//Checking is node created inside of html2canvas virtual window or not. We do not need WebGL there
8745-
var isInsideHtml2Canvas = this.baseURI && this.baseURI.length === 0;
8745+
var isInsideHtml2Canvas = this.baseURI !== undefined && this.baseURI.length === 0;
87468746

87478747
if (!isInsideHtml2Canvas) {
87488748
HTMLGL.elements.push(this);

dist/htmlgl.min.js

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

page/js/htmlgl.min.js

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

src/gl-element.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@
1919

2020
p.createdCallback = function () {
2121
//Checking is node created inside of html2canvas virtual window or not. We do not need WebGL there
22-
var isInsideHtml2Canvas = this.baseURI && this.baseURI.length === 0;
22+
var isInsideHtml2Canvas = this.baseURI !== undefined && this.baseURI.length === 0;
2323

2424
if (!isInsideHtml2Canvas) {
2525
HTMLGL.elements.push(this);

0 commit comments

Comments
 (0)