Merge pull request #1675 from gpasztor87/patch-1

Minor fix
This commit is contained in:
Samuel Georges 2016-01-02 11:55:54 +11:00
commit 188351a82a
1 changed files with 2 additions and 2 deletions

View File

@ -146,7 +146,7 @@
this.toggleEmptyTabsTimer = window.setTimeout(function() {
var tabControl = $('[data-control=tab]', this.$el),
var tabControl = $('[data-control=tab]', self.$el),
tabContainer = $('.nav-tabs', tabControl)
if (!tabControl.length || !$.contains(form.get(0), tabControl.get(0)))
@ -233,4 +233,4 @@
$('[data-control="formwidget"]').formWidget();
})
}(window.jQuery);
}(window.jQuery);