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

[fix] Fix disable UI effects

parent 953f4a2c
No related branches found
No related tags found
No related merge requests found
...@@ -683,7 +683,7 @@ angular.module('cesium.utils.services', ['angular-fullscreen-toggle']) ...@@ -683,7 +683,7 @@ angular.module('cesium.utils.services', ['angular-fullscreen-toggle'])
// but many fabs can have the same id (many view could be loaded at the same time) // but many fabs can have the same id (many view could be loaded at the same time)
var fabs = document.getElementsByClassName('button-fab'); var fabs = document.getElementsByClassName('button-fab');
_.forEach(fabs, function(fab){ _.forEach(fabs, function(fab){
if (fab.id == id) { if (fab.id === id) {
fab.classList.toggle('on', false); fab.classList.toggle('on', false);
} }
}); });
...@@ -724,7 +724,7 @@ angular.module('cesium.utils.services', ['angular-fullscreen-toggle']) ...@@ -724,7 +724,7 @@ angular.module('cesium.utils.services', ['angular-fullscreen-toggle'])
else { else {
$ionicConfig.views.transition('none'); $ionicConfig.views.transition('none');
var nothing = { var nothing = {
class: undefined, ionListClass: '',
show: function(){} show: function(){}
}; };
angular.merge(exports.motion, { angular.merge(exports.motion, {
......
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