summaryrefslogtreecommitdiffstats
path: root/core/js/multiselect.js
diff options
context:
space:
mode:
authorkondou <kondou@ts.unde.re>2014-03-07 09:46:08 +0100
committerkondou <kondou@ts.unde.re>2014-06-02 21:09:41 +0200
commit4257d10c2b3dc4e11898f40125061295151ca6cc (patch)
tree596bed2bd75ad477434224101de9d6fa10836a9b /core/js/multiselect.js
parent770382aea9007c8034781b14fa3184b7f0c6708c (diff)
downloadnextcloud-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.js8
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,