Add tag_autocomplete's on_pageload into its namespace.

This commit is contained in:
voussoir 2020-09-03 14:30:57 -07:00
parent fe7b5de427
commit 1849c2e58b

View file

@ -107,8 +107,9 @@ function update_tagset()
common.get(url, tag_autocomplete.update_tagset_callback); common.get(url, tag_autocomplete.update_tagset_callback);
} }
tag_autocomplete.on_pageload =
function on_pageload() function on_pageload()
{ {
tag_autocomplete.update_tagset(); tag_autocomplete.update_tagset();
} }
document.addEventListener("DOMContentLoaded", on_pageload); document.addEventListener("DOMContentLoaded", tag_autocomplete.on_pageload);