Removed trailing spaces

This commit is contained in:
Cato Antonsen 2017-03-05 22:46:48 +01:00
parent c2e90864ac
commit 347a2977fa

View File

@ -245,15 +245,13 @@ var MM = (function() {
moduleWrapper.style.transition = "opacity " + speed / 1000 + "s"; moduleWrapper.style.transition = "opacity " + speed / 1000 + "s";
// Restore the postition. See hideModule() for more info. // Restore the postition. See hideModule() for more info.
moduleWrapper.style.position = "static"; moduleWrapper.style.position = "static";
updateWrapperStates(); updateWrapperStates();
// Waiting for DOM-changes done in updateWrapperStates before we can start the animation. // Waiting for DOM-changes done in updateWrapperStates before we can start the animation.
setTimeout(function(){ setTimeout(function(){
moduleWrapper.style.opacity = 1; moduleWrapper.style.opacity = 1;
clearTimeout(module.showHideTimer); clearTimeout(module.showHideTimer);
module.showHideTimer = setTimeout(function() { module.showHideTimer = setTimeout(function() {
if (typeof callback === "function") { callback(); } if (typeof callback === "function") { callback(); }