框架升级及修复升级后的bug
This commit is contained in:
@@ -1,5 +1,5 @@
|
||||
/*!
|
||||
* Bootstrap v3.4.1 (https://getbootstrap.com/)
|
||||
* Bootstrap v3.4.2 (https://getbootstrap.com/)
|
||||
* Copyright 2011-2019 Twitter, Inc.
|
||||
* Licensed under the MIT license
|
||||
*/
|
||||
@@ -173,7 +173,7 @@ if (typeof jQuery === 'undefined') {
|
||||
}(jQuery);
|
||||
|
||||
/* ========================================================================
|
||||
* Bootstrap: button.js v3.4.1
|
||||
* Bootstrap: button.js v3.4.2
|
||||
* https://getbootstrap.com/docs/3.4/javascript/#buttons
|
||||
* ========================================================================
|
||||
* Copyright 2011-2019 Twitter, Inc.
|
||||
@@ -193,7 +193,7 @@ if (typeof jQuery === 'undefined') {
|
||||
this.isLoading = false
|
||||
}
|
||||
|
||||
Button.VERSION = '3.4.1'
|
||||
Button.VERSION = '3.4.2'
|
||||
|
||||
Button.DEFAULTS = {
|
||||
loadingText: 'loading...'
|
||||
@@ -202,7 +202,7 @@ if (typeof jQuery === 'undefined') {
|
||||
Button.prototype.setState = function (state) {
|
||||
var d = 'disabled'
|
||||
var $el = this.$element
|
||||
var val = $el.is('input') ? 'val' : 'html'
|
||||
var val = $el.is('input') ? 'val' : 'text'
|
||||
var data = $el.data()
|
||||
|
||||
state += 'Text'
|
||||
@@ -508,6 +508,8 @@ if (typeof jQuery === 'undefined') {
|
||||
// =================
|
||||
|
||||
var clickHandler = function (e) {
|
||||
e.preventDefault()
|
||||
|
||||
var $this = $(this)
|
||||
var href = $this.attr('href')
|
||||
if (href) {
|
||||
@@ -529,7 +531,6 @@ if (typeof jQuery === 'undefined') {
|
||||
$target.data('bs.carousel').to(slideIndex)
|
||||
}
|
||||
|
||||
e.preventDefault()
|
||||
}
|
||||
|
||||
$(document)
|
||||
|
||||
Reference in New Issue
Block a user