Skip to content
Snippets Groups Projects
Commit 6a44b2a6 authored by Benoit Lavenier's avatar Benoit Lavenier
Browse files

[enh] Fix log on desktop start up, in desktop service

parent b4fcee6c
No related branches found
No related tags found
No related merge requests found
...@@ -5,7 +5,10 @@ angular.module('cesium.desktop.services', ['cesium.device.services', 'cesium.set ...@@ -5,7 +5,10 @@ angular.module('cesium.desktop.services', ['cesium.device.services', 'cesium.set
.factory('csDesktop', function($rootScope, Device) { .factory('csDesktop', function($rootScope, Device) {
'ngInject'; 'ngInject';
if (!Device.isDesktop()) return; Device.ready()
.then(function() {
console.info("Starting desktop mode..."); if (!Device.isDesktop()) return;
console.info("[desktop-service] Starting desktop service...");
console.debug("[desktop-service] TODO: manage menu and other specific stuff here");
})
}); });
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment