parent
74c647bb6a
commit
74e2a4b154
1 changed files with 2 additions and 2 deletions
|
@ -82,13 +82,13 @@
|
|||
}
|
||||
return;
|
||||
}
|
||||
this.$el.find('li').removeClass('selected');
|
||||
this.$el.find('li').removeClass('active');
|
||||
if (this.$currentContent) {
|
||||
this.$currentContent.addClass('hidden');
|
||||
this.$currentContent.trigger(jQuery.Event('hide'));
|
||||
}
|
||||
this._activeItem = itemId;
|
||||
this.$el.find('li[data-id=' + itemId + ']').addClass('selected');
|
||||
this.$el.find('li[data-id=' + itemId + ']').addClass('active');
|
||||
this.$currentContent = $('#app-content-' + itemId);
|
||||
this.$currentContent.removeClass('hidden');
|
||||
if (!options || !options.silent) {
|
||||
|
|
Loading…
Reference in a new issue