Github user robertkowalski commented on a diff in the pull request:
https://github.com/apache/couchdb-fauxton/pull/103#discussion_r19044024
--- Diff: app/addons/documents/views-queryoptions.js ---
@@ -105,8 +105,9 @@ define([
toggleQueryOptionsTray: function () {
if (!this.trayIsVisible()) {
- $("#query-options-tray").velocity("transition.slideDownIn",
250); // TODO constant
- FauxtonAPI.Events.trigger("APIbar:closeTray");
+ $('#query-options-tray').velocity('transition.slideDownIn',
250); // TODO constant
+ FauxtonAPI.Events.trigger('APIbar:closeTray');
+ $('#toggle-query').addClass('enabled');
--- End diff --
is there a special reason not to use `this.$('.my-class')` ? When I read
these global selectors i always have no clue where the other element is located
(maybe in another module/view?)
---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at [email protected] or file a JIRA ticket
with INFRA.
---