COUCHDB-2189 - fix for polling bug
Project: http://git-wip-us.apache.org/repos/asf/couchdb/repo Commit: http://git-wip-us.apache.org/repos/asf/couchdb/commit/fffc5b73 Tree: http://git-wip-us.apache.org/repos/asf/couchdb/tree/fffc5b73 Diff: http://git-wip-us.apache.org/repos/asf/couchdb/diff/fffc5b73 Branch: refs/heads/2041-update-ibrowse Commit: fffc5b73d6714076b60ff5a2434d4bfaa8264183 Parents: ce91d81 Author: suelockwood <[email protected]> Authored: Mon Mar 10 16:34:10 2014 -0400 Committer: suelockwood <[email protected]> Committed: Mon Mar 10 16:34:10 2014 -0400 ---------------------------------------------------------------------- src/fauxton/app/addons/documents/views.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/couchdb/blob/fffc5b73/src/fauxton/app/addons/documents/views.js ---------------------------------------------------------------------- diff --git a/src/fauxton/app/addons/documents/views.js b/src/fauxton/app/addons/documents/views.js index b51ea08..48075e8 100644 --- a/src/fauxton/app/addons/documents/views.js +++ b/src/fauxton/app/addons/documents/views.js @@ -1588,7 +1588,7 @@ function(app, FauxtonAPI, Components, Documents, Databases, pouchdb, resizeColum that.showEditors(); }); } else if ($targetId === "meta-nav"){ - if ($previousTab.attr('id') !== "metadata"){ + if (!$("#ddoc-info").is(":visible")){ this.ddocInfoView.startRefreshInterval(); } $targetTab.toggle('slow');
