diff --git a/extract.py b/extract.py new file mode 100644 index 00000000..e69de29b diff --git a/index.html b/index.html index a56973c9..4bbe493a 100644 --- a/index.html +++ b/index.html @@ -127,7 +127,7 @@ }); allParts.click(function() { - window.location = window.location.origin + "?kanji=" + ((typeof $(this).attr("kvg:original") === typeof undefined) ? ((typeof $(this).attr("kvg:element") === typeof undefined) ? $(this).attr("kvg:phon") : $(this).attr("kvg:element")) : $(this).attr("kvg:original") ); + window.location = window.location.origin + "?kanji=" + $(this).attr("kvg:element"); }); });