diff options
author | Alex Yatskov <FooSoft@users.noreply.github.com> | 2016-06-20 10:00:01 -0700 |
---|---|---|
committer | GitHub <noreply@github.com> | 2016-06-20 10:00:01 -0700 |
commit | 261914328fb8b72d8984a21eaf7670a01f1da2c6 (patch) | |
tree | f04b1ffd3e5d7fb9fa6047e9aeac8fde84aa4160 /ext/fg/js/popup.js | |
parent | b7901945b34cda8994f12950ce50024a6b028cee (diff) | |
parent | a9863de95e201c8e814ad7d6dacedae98b13748a (diff) |
Merge pull request #7 from ispedals/firefox
Firefox
Diffstat (limited to 'ext/fg/js/popup.js')
-rw-r--r-- | ext/fg/js/popup.js | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/ext/fg/js/popup.js b/ext/fg/js/popup.js index 78106319..4c2b18f7 100644 --- a/ext/fg/js/popup.js +++ b/ext/fg/js/popup.js @@ -62,10 +62,8 @@ class Popup { return; } - const doc = this.popup.contentDocument; - doc.open(); - doc.write(content); - doc.close(); + const doc = this.popup; + doc.srcdoc=content; } sendMessage(action, params, callback) { |