couchdb-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From gar...@apache.org
Subject [1/2] fauxton commit: updated refs/heads/master to 686e41d
Date Mon, 29 Sep 2014 10:07:16 GMT
Repository: couchdb-fauxton
Updated Branches:
  refs/heads/master 7cde947fb -> 686e41d37


COUCHDB-2336 - Fix for auto-closing nav after clicking menu items.


Project: http://git-wip-us.apache.org/repos/asf/couchdb-fauxton/repo
Commit: http://git-wip-us.apache.org/repos/asf/couchdb-fauxton/commit/4b7a11dc
Tree: http://git-wip-us.apache.org/repos/asf/couchdb-fauxton/tree/4b7a11dc
Diff: http://git-wip-us.apache.org/repos/asf/couchdb-fauxton/diff/4b7a11dc

Branch: refs/heads/master
Commit: 4b7a11dc68da49b2990d9979f25ea9a97d8d7ff4
Parents: 7cde947
Author: Christian Hogan <github@infliction.org>
Authored: Sun Sep 28 20:34:38 2014 -0400
Committer: Christian Hogan <github@infliction.org>
Committed: Sun Sep 28 20:34:38 2014 -0400

----------------------------------------------------------------------
 app/addons/fauxton/base.js | 15 +--------------
 1 file changed, 1 insertion(+), 14 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/couchdb-fauxton/blob/4b7a11dc/app/addons/fauxton/base.js
----------------------------------------------------------------------
diff --git a/app/addons/fauxton/base.js b/app/addons/fauxton/base.js
index 3bb5cdb..42ad996 100644
--- a/app/addons/fauxton/base.js
+++ b/app/addons/fauxton/base.js
@@ -204,20 +204,7 @@ function(app, FauxtonAPI, resizeColumns, Components, ZeroClipboard) {
 
     afterRender: function(){
       $('#primary-navbar li[data-nav-name="' + app.selectedHeader + '"]').addClass('active');
-
-      var $selectorList = $('body');
-      var that = this;
-      $('#primary-navbar').on("click", ".nav a", function(){
-        if (!($selectorList.hasClass('closeMenu'))){
-          setTimeout(
-            function(){
-            $selectorList.addClass('closeMenu');
-            that.resizeColumns.onResizeHandler();
-          },3000);
-
-        }
-      });
-
+      
       this.resizeColumns.initialize();
     },
 


Mime
View raw message