From 7c18b8106a8f8b72dbc2b7a2de8da11fec0f975c Mon Sep 17 00:00:00 2001 From: Aris Feryanto Date: Sun, 12 Jun 2011 10:29:15 +0700 Subject: [PATCH] Better jQuery animation for column reordering popup balloon --- js/makegrid.js | 10 ++-------- 1 file changed, 2 insertions(+), 8 deletions(-) diff --git a/js/makegrid.js b/js/makegrid.js index c081c6ec75..f12ece5678 100644 --- a/js/makegrid.js +++ b/js/makegrid.js @@ -335,10 +335,7 @@ if (!this.colMov) { // if not dragging $(this.dHint) .stop(true, true) - .animate({ - width: 'show', - height: 'show' - }, 200, 'swing'); + .show('fast'); this.hintShown = true; } }, @@ -350,10 +347,7 @@ if (this.hintShown) { $(this.dHint) .stop(true, true) - .animate({ - width: 'hide', - height: 'hide' - }, 150, 'swing', function() { + .hide(150, function() { g.hintShown = false; }); }