diff --git a/ext/bg/popup.html b/ext/bg/context.html similarity index 97% rename from ext/bg/popup.html rename to ext/bg/context.html index 60253d6f..3828c9fe 100644 --- a/ext/bg/popup.html +++ b/ext/bg/context.html @@ -38,6 +38,6 @@ - + diff --git a/ext/bg/js/popup.js b/ext/bg/js/context.js similarity index 100% rename from ext/bg/js/popup.js rename to ext/bg/js/context.js diff --git a/ext/bg/js/display-window.js b/ext/bg/js/search.js similarity index 94% rename from ext/bg/js/display-window.js rename to ext/bg/js/search.js index cbb96681..87f50c32 100644 --- a/ext/bg/js/display-window.js +++ b/ext/bg/js/search.js @@ -17,7 +17,7 @@ */ -window.yomichan_window = new class extends Display { +class DisplaySearch extends Display { constructor() { super($('#spinner'), $('#content')); @@ -51,4 +51,6 @@ window.yomichan_window = new class extends Display { this.onError(e); } } -}; +} + +window.yomichan_search = new DisplaySearch(); diff --git a/ext/bg/search.html b/ext/bg/search.html index fe44d74e..d10530f9 100644 --- a/ext/bg/search.html +++ b/ext/bg/search.html @@ -5,7 +5,7 @@ Yomichan Search - +
@@ -45,6 +45,6 @@ - + diff --git a/ext/fg/css/client.css b/ext/fg/css/client.css index 9f566480..b5b1f6bd 100644 --- a/ext/fg/css/client.css +++ b/ext/fg/css/client.css @@ -17,7 +17,7 @@ */ -iframe#yomichan-popup { +iframe#yomichan-float { all: initial; background-color: #fff; border: 1px solid #999; diff --git a/ext/fg/frame.html b/ext/fg/float.html similarity index 88% rename from ext/fg/frame.html rename to ext/fg/float.html index dda3ef06..a3b66c92 100644 --- a/ext/fg/frame.html +++ b/ext/fg/float.html @@ -5,7 +5,7 @@ - +