Skip to content

Commit e6f8936

Browse files
committed
rake convert
1 parent e0ddfcd commit e6f8936

File tree

10 files changed

+8
-14
lines changed

10 files changed

+8
-14
lines changed

assets/javascripts/bootstrap.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -700,7 +700,7 @@ if (typeof jQuery === 'undefined') {
700700
var data = $this.data('bs.collapse')
701701
var options = $.extend({}, Collapse.DEFAULTS, $this.data(), typeof option == 'object' && option)
702702

703-
if (!data && options.toggle && option == 'show') options.toggle = false
703+
if (!data && options.toggle && /show|hide/.test(option)) options.toggle = false
704704
if (!data) $this.data('bs.collapse', (data = new Collapse(this, options)))
705705
if (typeof option == 'string') data[option]()
706706
})
@@ -2233,7 +2233,7 @@ if (typeof jQuery === 'undefined') {
22332233
var offset = this.options.offset
22342234
var offsetTop = offset.top
22352235
var offsetBottom = offset.bottom
2236-
var scrollHeight = $('body').height()
2236+
var scrollHeight = $(document.body).height()
22372237

22382238
if (typeof offset != 'object') offsetBottom = offsetTop = offset
22392239
if (typeof offsetTop == 'function') offsetTop = offset.top(this.$element)

assets/javascripts/bootstrap.min.js

Lines changed: 2 additions & 2 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

assets/javascripts/bootstrap/affix.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -78,7 +78,7 @@
7878
var offset = this.options.offset
7979
var offsetTop = offset.top
8080
var offsetBottom = offset.bottom
81-
var scrollHeight = $('body').height()
81+
var scrollHeight = $(document.body).height()
8282

8383
if (typeof offset != 'object') offsetBottom = offsetTop = offset
8484
if (typeof offsetTop == 'function') offsetTop = offset.top(this.$element)

assets/javascripts/bootstrap/collapse.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -172,7 +172,7 @@
172172
var data = $this.data('bs.collapse')
173173
var options = $.extend({}, Collapse.DEFAULTS, $this.data(), typeof option == 'object' && option)
174174

175-
if (!data && options.toggle && option == 'show') options.toggle = false
175+
if (!data && options.toggle && /show|hide/.test(option)) options.toggle = false
176176
if (!data) $this.data('bs.collapse', (data = new Collapse(this, options)))
177177
if (typeof option == 'string') data[option]()
178178
})

assets/stylesheets/bootstrap/_component-animations.scss

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -17,9 +17,8 @@
1717

1818
.collapse {
1919
display: none;
20-
visibility: hidden;
2120

22-
&.in { display: block; visibility: visible; }
21+
&.in { display: block; }
2322
// [converter] extracted tr&.in to tr.collapse.in
2423
// [converter] extracted tbody&.in to tbody.collapse.in
2524
}

assets/stylesheets/bootstrap/_navbar.scss

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -67,7 +67,6 @@
6767

6868
&.collapse {
6969
display: block !important;
70-
visibility: visible !important;
7170
height: auto !important;
7271
padding-bottom: 0; // Override default setting
7372
overflow: visible !important;

assets/stylesheets/bootstrap/_navs.scss

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -223,11 +223,9 @@
223223
.tab-content {
224224
> .tab-pane {
225225
display: none;
226-
visibility: hidden;
227226
}
228227
> .active {
229228
display: block;
230-
visibility: visible;
231229
}
232230
}
233231

assets/stylesheets/bootstrap/_tooltip.scss

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,6 @@
88
position: absolute;
99
z-index: $zindex-tooltip;
1010
display: block;
11-
visibility: visible;
1211
// Reset font and text properties given new insertion method
1312
font-family: $font-family-base;
1413
font-size: $font-size-small;

assets/stylesheets/bootstrap/_utilities.scss

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,6 @@
4444

4545
.hidden {
4646
display: none !important;
47-
visibility: hidden !important;
4847
}
4948

5049

lib/bootstrap-sass/version.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
11
module Bootstrap
22
VERSION = '3.3.3'
3-
BOOTSTRAP_SHA = 'e7efd810339eb538c4103a6d116956f1917c43d8'
3+
BOOTSTRAP_SHA = 'a3b6c9072c3d62316f21c0be405b81121d71cdf9'
44
end

0 commit comments

Comments
 (0)