mirror of
https://github.com/twbs/bootstrap.git
synced 2025-01-17 21:49:09 +01:00
Merge pull request #10519 from zba/master
changed attr('data-target') to data('target');
This commit is contained in:
commit
f11aa31023
@ -30,7 +30,7 @@
|
|||||||
Tab.prototype.show = function () {
|
Tab.prototype.show = function () {
|
||||||
var $this = this.element
|
var $this = this.element
|
||||||
var $ul = $this.closest('ul:not(.dropdown-menu)')
|
var $ul = $this.closest('ul:not(.dropdown-menu)')
|
||||||
var selector = $this.attr('data-target')
|
var selector = $this.data('target')
|
||||||
|
|
||||||
if (!selector) {
|
if (!selector) {
|
||||||
selector = $this.attr('href')
|
selector = $this.attr('href')
|
||||||
|
Loading…
x
Reference in New Issue
Block a user