Add tag_autocomplete's on_pageload into its namespace.
This commit is contained in:
parent
fe7b5de427
commit
1849c2e58b
1 changed files with 2 additions and 1 deletions
|
@ -107,8 +107,9 @@ function update_tagset()
|
|||
common.get(url, tag_autocomplete.update_tagset_callback);
|
||||
}
|
||||
|
||||
tag_autocomplete.on_pageload =
|
||||
function on_pageload()
|
||||
{
|
||||
tag_autocomplete.update_tagset();
|
||||
}
|
||||
document.addEventListener("DOMContentLoaded", on_pageload);
|
||||
document.addEventListener("DOMContentLoaded", tag_autocomplete.on_pageload);
|
||||
|
|
Loading…
Reference in a new issue