From 896cd7960cf80357cf812371fd1d918ccb30939b Mon Sep 17 00:00:00 2001 From: Alex Yatskov Date: Sat, 23 Apr 2016 22:11:29 -0700 Subject: [PATCH] Misc fixes --- ext/fg/css/client.css | 19 ++++++++++--------- 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; }