delete unnecessary js

This commit is contained in:
Chumva 2018-04-13 18:20:18 +03:00
parent 8cea14a7e5
commit 6169fe89d0

View file

@ -50,21 +50,6 @@ public class WikivoyageArticleDialogFragment extends WikivoyageBaseDialogFragmen
"window.location.hash = id;}</script>";
private static final String FOOTER_INNER = "</div></body></html>";
private static final String collapsibleJS = "<script>\n" +
"var coll = document.getElementsByTagName(\"H2\");\n" +
"var i;\n" +
"for (i = 0; i < coll.length; i++) {\n" +
" coll[i].addEventListener(\"click\", function() {\n" +
" this.classList.toggle(\"active\");\n" +
" var content = this.nextElementSibling;\n" +
" if (content.style.display === \"block\") {\n" +
" content.style.display = \"none\";\n" +
" } else {\n" +
" content.style.display = \"block\";\n" +
" }\n" +
" });\n" +
"}</script>";
private long cityId = NO_VALUE;
private ArrayList<String> langs;
private String selectedLang;