/* 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) {
/**
* @brief Deselect previous selected contact.
- *
+ *
* @param {int} id The contact ID.
* @returns {void}
*/
$('#nav-notifications-menu').perfectScrollbar('update');
});
- NavUpdate();
+ // Asynchronous calls are deferred until the very end of the page load to ease on slower connections
+ window.addEventListener("load", function(){
+ NavUpdate();
+ acl.get(0, 100);
+ });
+
// Allow folks to stop the ajax page updates with the pause/break key
$(document).keydown(function(event) {
if (event.keyCode == '8') {