diff options
| author | Bootstrap's Grunt bot <[email protected]> | 2015-04-22 05:30:27 +0000 |
|---|---|---|
| committer | Bootstrap's Grunt bot <[email protected]> | 2015-04-22 05:30:27 +0000 |
| commit | 063c1b0780ea0240e4adce4c88d57fc23e099475 (patch) | |
| tree | 50327e4d23fcc9664a366fafa3f347869ba0b3d5 /docs/dist/js/bootstrap.js | |
| parent | e949505b89ca146e3af0cf735e100c82703f1cda (diff) | |
| download | bootstrap-063c1b0780ea0240e4adce4c88d57fc23e099475.tar.xz bootstrap-063c1b0780ea0240e4adce4c88d57fc23e099475.zip | |
automatic `grunt dist`
[ci skip]
Diffstat (limited to 'docs/dist/js/bootstrap.js')
| -rw-r--r-- | docs/dist/js/bootstrap.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/docs/dist/js/bootstrap.js b/docs/dist/js/bootstrap.js index f666dea62..6cd85e30a 100644 --- a/docs/dist/js/bootstrap.js +++ b/docs/dist/js/bootstrap.js @@ -1294,7 +1294,7 @@ if (typeof jQuery === 'undefined') { this.type = type this.$element = $(element) this.options = this.getOptions(options) - this.$viewport = this.options.viewport && $(this.options.viewport.selector || this.options.viewport) + this.$viewport = this.options.viewport && $($.isFunction(this.options.viewport) ? this.options.viewport.call(this, this.$element) : (this.options.viewport.selector || this.options.viewport)) if (this.$element[0] instanceof document.constructor && !this.options.selector) { throw new Error('`selector` option must be specified when initializing ' + this.type + ' on the window.document object!') |
