diff options
author | Alex Yatskov <alex@foosoft.net> | 2016-07-02 19:51:13 -0700 |
---|---|---|
committer | Alex Yatskov <alex@foosoft.net> | 2016-07-02 19:51:13 -0700 |
commit | 30585892b812dbf19c15bd010d6032fffa204c0d (patch) | |
tree | 206927761682b43582bee8b84d50ffa7a6255485 /ext/fg/js/popup.js | |
parent | bd89db4ec5a55e7b08b27a3d736a32e859084aff (diff) | |
parent | 261914328fb8b72d8984a21eaf7670a01f1da2c6 (diff) |
Merge branch 'master' of https://github.com/FooSoft/yomichan-chrome
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) { |