From 69092db80805c4b369012c5d57e991d9fc32b5aa Mon Sep 17 00:00:00 2001 From: Pierre HUBERT Date: Sat, 20 Feb 2021 10:53:21 +0100 Subject: [PATCH] Simplify calls --- assets/js/common/system.js | 6 +++--- assets/js/init.js | 2 +- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/assets/js/common/system.js b/assets/js/common/system.js index 771ac84e..d818e067 100644 --- a/assets/js/common/system.js +++ b/assets/js/common/system.js @@ -31,17 +31,17 @@ const System = { //Enable page URLs detection window.location.changed = function(e){ - ComunicWeb.common.page.location_updated(e); + Page.location_updated(e); } /** * Prepare login */ //Clean current page content - ComunicWeb.common.page.emptyPage(); + Page.emptyPage(); //Show a wait splash screen - ComunicWeb.common.page.showWaitSplashScreen("Starting up..."); + Page.showWaitSplashScreen("Starting up..."); /** * Language initator diff --git a/assets/js/init.js b/assets/js/init.js index dc18c933..9ac696b0 100644 --- a/assets/js/init.js +++ b/assets/js/init.js @@ -7,5 +7,5 @@ //Anonymous function (function(){ //Launch app - ComunicWeb.common.system.init(); + System.init(); })(); \ No newline at end of file