mirror of
https://github.com/twbs/bootstrap.git
synced 2022-11-09 12:25:43 -05:00
Merge pull request #10519 from zba/master
changed attr('data-target') to data('target');
This commit is contained in:
commit
f11aa31023
1 changed files with 1 additions and 1 deletions
|
@ -30,7 +30,7 @@
|
|||
Tab.prototype.show = function () {
|
||||
var $this = this.element
|
||||
var $ul = $this.closest('ul:not(.dropdown-menu)')
|
||||
var selector = $this.attr('data-target')
|
||||
var selector = $this.data('target')
|
||||
|
||||
if (!selector) {
|
||||
selector = $this.attr('href')
|
||||
|
|
Loading…
Add table
Reference in a new issue