diff options
| author | Mark Otto <[email protected]> | 2013-12-07 11:44:32 -0800 |
|---|---|---|
| committer | Mark Otto <[email protected]> | 2013-12-07 11:44:32 -0800 |
| commit | 2b4fa90902e9b911dafe76a7cd33f5bcb748a238 (patch) | |
| tree | 72d7595dda93227e16e025dcf15a7ca3e34384dc | |
| parent | cc1f95652bbf5c7d7ab5b040cdc15478d68e0369 (diff) | |
| download | bootstrap-2b4fa90902e9b911dafe76a7cd33f5bcb748a238.tar.xz bootstrap-2b4fa90902e9b911dafe76a7cd33f5bcb748a238.zip | |
grunt dist
| -rw-r--r-- | dist/js/bootstrap.js | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/dist/js/bootstrap.js b/dist/js/bootstrap.js index 183279907..d6b01e850 100644 --- a/dist/js/bootstrap.js +++ b/dist/js/bootstrap.js @@ -763,7 +763,7 @@ if (typeof jQuery === "undefined") { throw new Error("Bootstrap requires jQuery" if (e.keyCode == 38 && index > 0) index-- // up if (e.keyCode == 40 && index < $items.length - 1) index++ // down - if (!~index) index=0 + if (!~index) index = 0 $items.eq(index).focus() } @@ -1013,7 +1013,7 @@ if (typeof jQuery === "undefined") { throw new Error("Bootstrap requires jQuery" } else if (!this.isShown && this.$backdrop) { this.$backdrop.removeClass('in') - $.support.transition && this.$element.hasClass('fade')? + $.support.transition && this.$element.hasClass('fade') ? this.$backdrop .one($.support.transition.end, callback) .emulateTransitionEnd(150) : @@ -1213,7 +1213,7 @@ if (typeof jQuery === "undefined") { throw new Error("Bootstrap requires jQuery" } Tooltip.prototype.show = function () { - var e = $.Event('show.bs.'+ this.type) + var e = $.Event('show.bs.' + this.type) if (this.hasContent() && this.enabled) { this.$element.trigger(e) |
