From 9f60f2c33f06eb70b2db3ab2a11d01200b43d1d4 Mon Sep 17 00:00:00 2001 From: Exodus4D Date: Sat, 29 Oct 2016 22:44:26 +0200 Subject: [PATCH] - fixed module window "minimize" function --- js/app/module_map.js | 6 +++--- public/js/v1.1.7/app/module_map.js | 6 +++--- 2 files changed, 6 insertions(+), 6 deletions(-) diff --git a/js/app/module_map.js b/js/app/module_map.js index 34b25688..0e755a50 100644 --- a/js/app/module_map.js +++ b/js/app/module_map.js @@ -164,7 +164,7 @@ define([ height: [ moduleHeight + 'px', [ 400, 15 ] ] },{ duration: 400, - easing: 'easeInSine', + easing: 'easeOutSine', complete: function(){ moduleElement.removeClass( config.moduleClosedClass ); moduleElement.removeData(); @@ -172,10 +172,10 @@ define([ }); }else{ moduleElement.velocity('finish').velocity({ - height: [ '36px', [ 400, 15 ] ] + height: [ '35px', [ 400, 15 ] ] },{ duration: 400, - easing: 'easeInSine', + easing: 'easeOutSine', complete: function(){ moduleElement.addClass( config.moduleClosedClass ); } diff --git a/public/js/v1.1.7/app/module_map.js b/public/js/v1.1.7/app/module_map.js index 34b25688..0e755a50 100644 --- a/public/js/v1.1.7/app/module_map.js +++ b/public/js/v1.1.7/app/module_map.js @@ -164,7 +164,7 @@ define([ height: [ moduleHeight + 'px', [ 400, 15 ] ] },{ duration: 400, - easing: 'easeInSine', + easing: 'easeOutSine', complete: function(){ moduleElement.removeClass( config.moduleClosedClass ); moduleElement.removeData(); @@ -172,10 +172,10 @@ define([ }); }else{ moduleElement.velocity('finish').velocity({ - height: [ '36px', [ 400, 15 ] ] + height: [ '35px', [ 400, 15 ] ] },{ duration: 400, - easing: 'easeInSine', + easing: 'easeOutSine', complete: function(){ moduleElement.addClass( config.moduleClosedClass ); }