]> source.dussan.org Git - nextcloud-server.git/commitdiff
remove +3 in multiselect.js
authorThomas Müller <thomas.mueller@tmit.eu>
Mon, 19 May 2014 19:27:09 +0000 (21:27 +0200)
committerThomas Müller <thomas.mueller@tmit.eu>
Tue, 3 Jun 2014 10:42:36 +0000 (12:42 +0200)
core/js/multiselect.js

index d9a8057daf6006ee9cb8f8f433d16382bff8e7a0..511070bfc450591e062b5da04c064d106cb45fb8 100644 (file)
                                        button.animate({'width':newWidth},undefined,undefined,function(){
                                                button.css('width','');
                                        });
-                                       list.animate({'width':newOuterWidth,'left':pos.left+3});
+                                       list.animate({'width':newOuterWidth,'left':pos.left});
                                        self.change();
                                });
                                var li=$('<li></li>');
                        ) {
                                list.css({
                                        top:pos.top+button.outerHeight()-5,
-                                       left:pos.left+3,
+                                       left:pos.left,
                                        width:(button.outerWidth()-2)+'px',
                                        'max-height':($(document).height()-(button.offset().top+button.outerHeight()+10))+'px'
                                });
                                list.css('max-height', $(document).height()-($(document).height()-(pos.top)+50)+'px');
                                list.css({
                                        top:pos.top - list.height(),
-                                       left:pos.left+3,
+                                       left:pos.left,
                                        width:(button.outerWidth()-2)+'px'
                                        
                                });