removed nested ternary2

This commit is contained in:
Robert 2021-01-03 19:16:53 +01:00
parent c84f51d7e9
commit a520f89fb6
2 changed files with 1 additions and 1 deletions

0
extract.py Normal file
View file

View file

@ -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");
});
});