Github user deathbearbrown commented on a diff in the pull request:

    https://github.com/apache/couchdb/pull/201#discussion_r11135187
  
    --- Diff: src/fauxton/app/addons/fauxton/base.js ---
    @@ -202,21 +202,17 @@ function(app, FauxtonAPI, resizeColumns) {
         afterRender: function(){
           $('#primary-navbar li[data-nav-name="' + app.selectedHeader + 
'"]').addClass('active');
     
    -      var menuOpen = true;
           var $selectorList = $('body');
    -      $('.brand').off();
    -      $('.brand').on({
    +      this.$('.burger').off();
    +      this.$('.burger').on({
    --- End diff --
    
    Can you move the on Click to a backbone view event?
    
    like this:
    events: {
    "click .brand":"toggleMenu"
    },
    
    
    then make toggleMenu part of the view object, instead of inside the 
afterRender function.


---
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 infrastruct...@apache.org or file a JIRA ticket
with INFRA.
---

Reply via email to