diff --git a/web/compatibility.js b/web/compatibility.js index 93d9d121b..e9a769163 100755 --- a/web/compatibility.js +++ b/web/compatibility.js @@ -168,12 +168,12 @@ set: function(src) { this.$src = src; if (src.substr(0, 14) != 'data:text/html') { - originalSrcDescriptor['set'].call(this, src); + originalSrcDescriptor.set.call(this, src); return; } // for text/html, using blank document and then // document's open, write, and close operations - originalSrcDescriptor['set'].call(this, 'about:blank'); + originalSrcDescriptor.set.call(this, 'about:blank'); setTimeout((function() { var doc = this.contentDocument; doc.open('text/html');