mirror of
https://github.com/MichMich/MagicMirror.git
synced 2025-06-27 03:39:55 +00:00
Type check.
This commit is contained in:
parent
584a12e1f5
commit
38e42cf71e
@ -414,7 +414,7 @@ var MM = (function() {
|
|||||||
hideModule: function(module, speed, callback) {
|
hideModule: function(module, speed, callback) {
|
||||||
hideModule(module, speed, function() {
|
hideModule(module, speed, function() {
|
||||||
module.hidden = true;
|
module.hidden = true;
|
||||||
callback();
|
if (typeof callback === 'function') { callback(); }
|
||||||
});
|
});
|
||||||
},
|
},
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user