From 7aa07df0db9632c976560cc76ba119143341f4fe Mon Sep 17 00:00:00 2001 From: Tobias Reich Date: Sat, 18 Oct 2014 18:15:00 +0200 Subject: [PATCH] Code adjustments --- src/scripts/multiselect.js | 24 ++++++++++++------------ 1 file changed, 12 insertions(+), 12 deletions(-) diff --git a/src/scripts/multiselect.js b/src/scripts/multiselect.js index 862d0ed..0a159c3 100644 --- a/src/scripts/multiselect.js +++ b/src/scripts/multiselect.js @@ -93,17 +93,17 @@ multiselect.resize = function(e) { newHeight -= (multiselect.position.top + newHeight) - $(document).height() + 2; $('#multiselect').css({ - top: multiselect.position.top, - bottom: 'inherit', - height: newHeight + top: multiselect.position.top, + bottom: 'inherit', + height: newHeight }); } else { $('#multiselect').css({ - top: 'inherit', - bottom: multiselect.position.bottom, - height: multiselect.position.top - e.pageY + top: 'inherit', + bottom: multiselect.position.bottom, + height: multiselect.position.top - e.pageY }); } @@ -116,17 +116,17 @@ multiselect.resize = function(e) { newWidth -= (multiselect.position.left + newWidth) - $(document).width() + 2; $('#multiselect').css({ - right: 'inherit', - left: multiselect.position.left, - width: newWidth + right: 'inherit', + left: multiselect.position.left, + width: newWidth }); } else { $('#multiselect').css({ - right: multiselect.position.right, - left: 'inherit', - width: multiselect.position.left - e.pageX + right: multiselect.position.right, + left: 'inherit', + width: multiselect.position.left - e.pageX }); }