mirror of
https://github.com/MichMich/MagicMirror.git
synced 2025-06-27 03:39:55 +00:00
Fix show/hide issue on content update.
This commit is contained in:
parent
2c387f6ae6
commit
f320f6e9b6
@ -422,10 +422,8 @@ var MM = (function() {
|
||||
* argument callback function - Called when the animation is done.
|
||||
*/
|
||||
hideModule: function(module, speed, callback) {
|
||||
hideModule(module, speed, function() {
|
||||
module.hidden = true;
|
||||
if (typeof callback === 'function') { callback(); }
|
||||
});
|
||||
hideModule(module, speed, callback);
|
||||
},
|
||||
|
||||
/* showModule(module, speed, callback)
|
||||
|
Loading…
x
Reference in New Issue
Block a user