Github user robertkowalski commented on a diff in the pull request:
https://github.com/apache/couchdb-fauxton/pull/121#discussion_r19745746
--- Diff: app/core/router.js ---
@@ -97,6 +97,15 @@ function(FauxtonAPI, Auth, Backbone) {
$(FauxtonAPI.el).html(FauxtonAPI.masterLayout.el);
FauxtonAPI.masterLayout.render();
+
+ this.lastPage = [Backbone.history.fragment];
--- End diff --
You can use the `.length` method of the array to check if there is no page
in it
---
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.
---