mirror of
https://github.com/friendica/friendica
synced 2024-11-18 04:23:41 +00:00
Fix JS error when no acl is defined
This commit is contained in:
parent
071aff223a
commit
4edbea3ed0
1 changed files with 3 additions and 1 deletions
|
@ -305,7 +305,9 @@ $(function() {
|
|||
// 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);
|
||||
if (typeof acl !== 'undefined') {
|
||||
acl.get(0, 100);
|
||||
}
|
||||
});
|
||||
|
||||
// Allow folks to stop the ajax page updates with the pause/break key
|
||||
|
|
Loading…
Reference in a new issue