Use active instead of hover for active sidebar option

Fix #8720
remotes/origin/ldap_group_count
Joas Schilling 12 years ago
parent 74c647bb6a
commit 74e2a4b154
  1. 4
      apps/files/js/navigation.js

@ -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…
Cancel
Save