Skip to content

Commit 063c1b0

Browse files
committed
automatic grunt dist
[ci skip]
1 parent e949505 commit 063c1b0

File tree

4 files changed

+8
-6
lines changed

4 files changed

+8
-6
lines changed

dist/js/bootstrap.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1294,7 +1294,7 @@ if (typeof jQuery === 'undefined') {
12941294
this.type = type
12951295
this.$element = $(element)
12961296
this.options = this.getOptions(options)
1297-
this.$viewport = this.options.viewport && $(this.options.viewport.selector || this.options.viewport)
1297+
this.$viewport = this.options.viewport && $($.isFunction(this.options.viewport) ? this.options.viewport.call(this, this.$element) : (this.options.viewport.selector || this.options.viewport))
12981298

12991299
if (this.$element[0] instanceof document.constructor && !this.options.selector) {
13001300
throw new Error('`selector` option must be specified when initializing ' + this.type + ' on the window.document object!')

dist/js/bootstrap.min.js

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

docs/dist/js/bootstrap.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1294,7 +1294,7 @@ if (typeof jQuery === 'undefined') {
12941294
this.type = type
12951295
this.$element = $(element)
12961296
this.options = this.getOptions(options)
1297-
this.$viewport = this.options.viewport && $(this.options.viewport.selector || this.options.viewport)
1297+
this.$viewport = this.options.viewport && $($.isFunction(this.options.viewport) ? this.options.viewport.call(this, this.$element) : (this.options.viewport.selector || this.options.viewport))
12981298

12991299
if (this.$element[0] instanceof document.constructor && !this.options.selector) {
13001300
throw new Error('`selector` option must be specified when initializing ' + this.type + ' on the window.document object!')

docs/dist/js/bootstrap.min.js

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

0 commit comments

Comments
 (0)