diff options
author | Alex Yatskov <alex@foosoft.net> | 2016-04-23 22:11:29 -0700 |
---|---|---|
committer | Alex Yatskov <alex@foosoft.net> | 2016-04-23 22:11:29 -0700 |
commit | 896cd7960cf80357cf812371fd1d918ccb30939b (patch) | |
tree | 4c75c021a98fd8a3421dffdc3328dd0e4b17cafc /ext | |
parent | 659bb87a59c2f53e8144998fe1d3067526a83897 (diff) |
Misc fixes
Diffstat (limited to 'ext')
-rw-r--r-- | ext/fg/css/client.css | 19 | ||||
-rw-r--r-- | ext/fg/js/client.js | 2 |
2 files changed, 11 insertions, 10 deletions
diff --git a/ext/fg/css/client.css b/ext/fg/css/client.css index aefc2187..29871daf 100644 --- a/ext/fg/css/client.css +++ b/ext/fg/css/client.css @@ -17,13 +17,14 @@ */ iframe#yomichan-popup { - all: initial; - border: 1px solid #999; - box-shadow: 0 0 10px rgba(0, 0, 0, .5); - height: 250px; - position: fixed; - resize: both; - visibility: hidden; - width: 400px; - z-index: 2147483647; + all: initial; + background-color: #fff; + border: 1px solid #999; + box-shadow: 0 0 10px rgba(0, 0, 0, .5); + height: 250px; + position: fixed; + resize: both; + visibility: hidden; + width: 400px; + z-index: 2147483647; } diff --git a/ext/fg/js/client.js b/ext/fg/js/client.js index 303f959b..f15519c9 100644 --- a/ext/fg/js/client.js +++ b/ext/fg/js/client.js @@ -83,7 +83,7 @@ class Client { searchAt(point) { const range = Range.fromPoint(point); if (range === null || !range.containsPoint(point)) { - this.popup.hide(); + this.hidePopup(); return; } |