misc bug fixes, version bump

This commit is contained in:
Alex Yatskov 2017-03-10 20:12:07 -08:00
parent 19ffd1a0d3
commit 5150cdbf72
5 changed files with 4 additions and 12 deletions

View File

@ -61,7 +61,7 @@ window.displayFrame = new class extends Display {
api_showKanjiDefs({definitions, options, context}) { api_showKanjiDefs({definitions, options, context}) {
window.scrollTo(0, 0); window.scrollTo(0, 0);
this.showKanjiDefs(defintions, options, context); this.showKanjiDefs(definitions, options, context);
} }
api_showOrphaned() { api_showOrphaned() {

View File

@ -39,7 +39,7 @@ class TextSourceElement {
case 'IMG': case 'IMG':
return this.element.getAttribute('alt'); return this.element.getAttribute('alt');
default: default:
return this.element.value; return this.element.value || '';
} }
} }

View File

@ -1,7 +1,7 @@
{ {
"manifest_version": 2, "manifest_version": 2,
"name": "Yomichan", "name": "Yomichan",
"version": "1.1.1", "version": "1.1.2",
"description": "Japanese dictionary with Anki integration", "description": "Japanese dictionary with Anki integration",
"icons": {"16": "mixed/img/icon16.png", "48": "mixed/img/icon48.png", "128": "mixed/img/icon128.png"}, "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/play-audio.png",
"mixed/img/spinner.gif", "mixed/img/spinner.gif",
"mixed/mp3/button.mp3", "mixed/mp3/button.mp3",
"mixed/ttf/kanji-stroke-orders.ttf", "mixed/ttf/kanji-stroke-orders.ttf"
"mixed/ttf/vl-gothic-regular.ttf"
], ],
"applications": { "applications": {
"gecko": { "gecko": {

View File

@ -26,12 +26,6 @@
src: url('/mixed/ttf/kanji-stroke-orders.ttf'); src: url('/mixed/ttf/kanji-stroke-orders.ttf');
} }
@font-face {
font-family: vl-gothic-regular;
src: url('/mixed/ttf/vl-gothic-regular.ttf');
}
/* /*
* General * General
*/ */
@ -112,7 +106,6 @@ hr {
.expression { .expression {
display: inline-block; display: inline-block;
font-family: vl-gothic-regular;
font-size: 24px; font-size: 24px;
} }

Binary file not shown.