Misc fixes

This commit is contained in:
Alex Yatskov 2016-04-23 22:11:29 -07:00
parent 659bb87a59
commit 896cd7960c
2 changed files with 11 additions and 10 deletions

View File

@ -18,6 +18,7 @@
iframe#yomichan-popup { iframe#yomichan-popup {
all: initial; all: initial;
background-color: #fff;
border: 1px solid #999; border: 1px solid #999;
box-shadow: 0 0 10px rgba(0, 0, 0, .5); box-shadow: 0 0 10px rgba(0, 0, 0, .5);
height: 250px; height: 250px;

View File

@ -83,7 +83,7 @@ class Client {
searchAt(point) { searchAt(point) {
const range = Range.fromPoint(point); const range = Range.fromPoint(point);
if (range === null || !range.containsPoint(point)) { if (range === null || !range.containsPoint(point)) {
this.popup.hide(); this.hidePopup();
return; return;
} }