diff --git a/src/main/webapp/js/services.js b/src/main/webapp/js/services.js index b8acbda7..1f42b6fa 100644 --- a/src/main/webapp/js/services.js +++ b/src/main/webapp/js/services.js @@ -15,10 +15,10 @@ module.service('AnalyticsService', [ '$state', function($state) { module.service('MobileService', [ '$state', function($state) { this.toggleLeftMenu = function() { $('body').toggleClass('left-menu-active'); - } + }; this.toggleRightMenu = function() { $('body').toggleClass('right-menu-active'); - } + }; var width = (window.innerWidth > 0) ? window.innerWidth : screen.width; this.mobile = width < 979; }]);