Call asynchronous JS after complete page load
This commit is contained in:
parent
1ca8d573e6
commit
b6e57989dc
2 changed files with 7 additions and 5 deletions
|
|
@ -42,9 +42,6 @@ function ACL(backend_url, preset, automention, is_mobile){
|
|||
/* add/remove mentions */
|
||||
this.element = $("#profile-jot-text");
|
||||
this.htmlelm = this.element.get()[0];
|
||||
|
||||
/* startup! */
|
||||
this.get(0,100);
|
||||
}
|
||||
|
||||
ACL.prototype.remove_mention = function(id) {
|
||||
|
|
@ -344,7 +341,7 @@ ACL.prototype.populate = function(data){
|
|||
|
||||
/**
|
||||
* @brief Deselect previous selected contact.
|
||||
*
|
||||
*
|
||||
* @param {int} id The contact ID.
|
||||
* @returns {void}
|
||||
*/
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue