mirror of
https://github.com/twbs/bootstrap.git
synced 2025-09-26 21:39:08 +02:00
define constructor on prototypes
This commit is contained in:
4
js/bootstrap-tab.js
vendored
4
js/bootstrap-tab.js
vendored
@@ -31,7 +31,9 @@
|
||||
|
||||
Tab.prototype = {
|
||||
|
||||
show: function () {
|
||||
constructor: Tab
|
||||
|
||||
, show: function () {
|
||||
var $this = this.element
|
||||
, $ul = $this.closest('ul:not(.dropdown-menu)')
|
||||
, href = $this.attr('data-target') || $this.attr('href')
|
||||
|
Reference in New Issue
Block a user