diff options
author | kondou <kondou@ts.unde.re> | 2014-03-07 09:46:08 +0100 |
---|---|---|
committer | kondou <kondou@ts.unde.re> | 2014-06-02 21:09:41 +0200 |
commit | 4257d10c2b3dc4e11898f40125061295151ca6cc (patch) | |
tree | 596bed2bd75ad477434224101de9d6fa10836a9b /core/js/multiselect.js | |
parent | 770382aea9007c8034781b14fa3184b7f0c6708c (diff) | |
download | nextcloud-server-4257d10c2b3dc4e11898f40125061295151ca6cc.tar.gz nextcloud-server-4257d10c2b3dc4e11898f40125061295151ca6cc.zip |
Add some more spaces for operators
Diffstat (limited to 'core/js/multiselect.js')
-rw-r--r-- | core/js/multiselect.js | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/core/js/multiselect.js b/core/js/multiselect.js index 2174b74622d..dac39b6acf5 100644 --- a/core/js/multiselect.js +++ b/core/js/multiselect.js @@ -165,10 +165,10 @@ button.children('span').first().text(settings.labels.length > 0 ? settings.labels.join(', ') : settings.title); - var newOuterWidth=Math.max( - (button.outerWidth()-2), + var newOuterWidth = Math.max( + (button.outerWidth() - 2), settings.minOuterWidth - )+'px'; + ) + 'px'; var newWidth=Math.max(button.width(),settings.minWidth); var pos=button.position(); button.css('width',oldWidth); @@ -281,7 +281,7 @@ var pos=button.position(); if(($(document).height() > (button.offset().top + button.outerHeight() + list.children().length * button.height()) && $(document).height() - button.offset().top > (button.offset().top+button.outerHeight() + list.children().length * button.height())) || - $(document).height()/2 > button.offset().top + $(document).height() / 2 > button.offset().top ) { list.css({ top:pos.top+button.outerHeight()-5, |