Skip to content

Commit 607795e

Browse files
committed
Merge branch 'master' of github.com:twitter/bootstrap
2 parents d7e3bf7 + 2edf16c commit 607795e

File tree

4 files changed

+18
-13
lines changed

4 files changed

+18
-13
lines changed

bootstrap.css

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2309,6 +2309,7 @@ button.btn::-moz-focus-inner, input[type=submit].btn::-moz-focus-inner {
23092309
-webkit-border-radius: 3px;
23102310
-moz-border-radius: 3px;
23112311
border-radius: 3px;
2312+
white-space: nowrap;
23122313
}
23132314
.label.important {
23142315
background-color: #c43c35;

bootstrap.min.css

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

js/bootstrap-dropdown.js

Lines changed: 15 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -20,17 +20,6 @@
2020

2121
!function( $ ){
2222

23-
var d = 'a.menu, .dropdown-toggle'
24-
25-
function clearMenus() {
26-
$(d).parent('li').removeClass('open')
27-
}
28-
29-
$(function () {
30-
$('html').bind("click", clearMenus)
31-
$('body').dropdown( '[data-dropdown] a.menu, [data-dropdown] .dropdown-toggle' )
32-
})
33-
3423
/* DROPDOWN PLUGIN DEFINITION
3524
* ========================== */
3625

@@ -47,4 +36,18 @@
4736
})
4837
}
4938

50-
}( window.jQuery || window.ender );
39+
/* APPLY TO STANDARD DROPDOWN ELEMENTS
40+
* =================================== */
41+
42+
var d = 'a.menu, .dropdown-toggle'
43+
44+
function clearMenus() {
45+
$(d).parent('li').removeClass('open')
46+
}
47+
48+
$(function () {
49+
$('html').bind("click", clearMenus)
50+
$('body').dropdown( '[data-dropdown] a.menu, [data-dropdown] .dropdown-toggle' )
51+
})
52+
53+
}( window.jQuery || window.ender );

lib/patterns.less

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -969,6 +969,7 @@ input[type=submit].btn {
969969
font-weight: bold;
970970
color: @white;
971971
text-transform: uppercase;
972+
white-space: nowrap;
972973
.border-radius(3px);
973974
&.important { background-color: #c43c35; }
974975
&.warning { background-color: @orange; }

0 commit comments

Comments
 (0)