summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--ext/fg/js/display-frame.js2
-rw-r--r--ext/fg/js/source-element.js2
-rw-r--r--ext/manifest.json5
-rw-r--r--ext/mixed/css/frame.css7
-rw-r--r--ext/mixed/ttf/vl-gothic-regular.ttfbin4091660 -> 0 bytes
5 files changed, 4 insertions, 12 deletions
diff --git a/ext/fg/js/display-frame.js b/ext/fg/js/display-frame.js
index bd070b63..bc2e15df 100644
--- a/ext/fg/js/display-frame.js
+++ b/ext/fg/js/display-frame.js
@@ -61,7 +61,7 @@ window.displayFrame = new class extends Display {
api_showKanjiDefs({definitions, options, context}) {
window.scrollTo(0, 0);
- this.showKanjiDefs(defintions, options, context);
+ this.showKanjiDefs(definitions, options, context);
}
api_showOrphaned() {
diff --git a/ext/fg/js/source-element.js b/ext/fg/js/source-element.js
index d3cc42a1..69fbc5ab 100644
--- a/ext/fg/js/source-element.js
+++ b/ext/fg/js/source-element.js
@@ -39,7 +39,7 @@ class TextSourceElement {
case 'IMG':
return this.element.getAttribute('alt');
default:
- return this.element.value;
+ return this.element.value || '';
}
}
diff --git a/ext/manifest.json b/ext/manifest.json
index bdb1084a..43b8036f 100644
--- a/ext/manifest.json
+++ b/ext/manifest.json
@@ -1,7 +1,7 @@
{
"manifest_version": 2,
"name": "Yomichan",
- "version": "1.1.1",
+ "version": "1.1.2",
"description": "Japanese dictionary with Anki integration",
"icons": {"16": "mixed/img/icon16.png", "48": "mixed/img/icon48.png", "128": "mixed/img/icon128.png"},
@@ -41,8 +41,7 @@
"mixed/img/play-audio.png",
"mixed/img/spinner.gif",
"mixed/mp3/button.mp3",
- "mixed/ttf/kanji-stroke-orders.ttf",
- "mixed/ttf/vl-gothic-regular.ttf"
+ "mixed/ttf/kanji-stroke-orders.ttf"
],
"applications": {
"gecko": {
diff --git a/ext/mixed/css/frame.css b/ext/mixed/css/frame.css
index 7d772042..10af19be 100644
--- a/ext/mixed/css/frame.css
+++ b/ext/mixed/css/frame.css
@@ -26,12 +26,6 @@
src: url('/mixed/ttf/kanji-stroke-orders.ttf');
}
-@font-face {
- font-family: vl-gothic-regular;
- src: url('/mixed/ttf/vl-gothic-regular.ttf');
-}
-
-
/*
* General
*/
@@ -112,7 +106,6 @@ hr {
.expression {
display: inline-block;
- font-family: vl-gothic-regular;
font-size: 24px;
}
diff --git a/ext/mixed/ttf/vl-gothic-regular.ttf b/ext/mixed/ttf/vl-gothic-regular.ttf
deleted file mode 100644
index c056caa2..00000000
--- a/ext/mixed/ttf/vl-gothic-regular.ttf
+++ /dev/null
Binary files differ