From 64b08e3d8224bea374d6af636f703d129220b800 Mon Sep 17 00:00:00 2001 From: notmasteryet Date: Sun, 28 Aug 2011 15:26:42 -0500 Subject: [PATCH] using .src --- web/compatibility.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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');