diff options
author | Alex Yatskov <alex@foosoft.net> | 2016-07-06 19:56:13 -0700 |
---|---|---|
committer | Alex Yatskov <alex@foosoft.net> | 2016-07-06 19:56:13 -0700 |
commit | abb3d741422ac456546dc7d2995f0915998fde4e (patch) | |
tree | cd892d1db0354df728bafab6c49ae3cbc50d8bc4 /ext/fg/js/popup.js | |
parent | 80d2eac33cf00a8b13afb84d9d242029db97c75b (diff) |
Temporarily removing gecko code from master until everything works in
firefox branch.
This reverts commit 30585892b812dbf19c15bd010d6032fffa204c0d, reversing
changes made to bd89db4ec5a55e7b08b27a3d736a32e859084aff.
Diffstat (limited to 'ext/fg/js/popup.js')
-rw-r--r-- | ext/fg/js/popup.js | 7 |
1 files changed, 2 insertions, 5 deletions
diff --git a/ext/fg/js/popup.js b/ext/fg/js/popup.js index 4c2b18f7..4ec34249 100644 --- a/ext/fg/js/popup.js +++ b/ext/fg/js/popup.js @@ -58,12 +58,9 @@ class Popup { } setContent(content) { - if (this.popup === null) { - return; + if (this.popup !== null) { + this.popup.srcdoc = content; } - - const doc = this.popup; - doc.srcdoc=content; } sendMessage(action, params, callback) { |