summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorsuelockwood <deathbearbrown@gmail.com>2013-09-06 16:39:28 -0400
committerGarren Smith <garren.smith@gmail.com>2013-09-10 16:17:35 +0200
commite976e7cb081b098707ad7d0440c421bb4d33f216 (patch)
treec0330c6c120dae34cc419779ce87854bc389d247
parentd081ae59821e9abe9f37e1c82a94aafd95a2a339 (diff)
downloadcouchdb-e976e7cb081b098707ad7d0440c421bb4d33f216.tar.gz
Fauxton: The scrolltoselector needed to be changed to dashboard-content. Now it will scroll to the top of the div
-rw-r--r--src/fauxton/app/modules/documents/views.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/fauxton/app/modules/documents/views.js b/src/fauxton/app/modules/documents/views.js
index c345c9cb7..08ea6767c 100644
--- a/src/fauxton/app/modules/documents/views.js
+++ b/src/fauxton/app/modules/documents/views.js
@@ -517,7 +517,7 @@ function(app, FauxtonAPI, Paginate, Documents, pouchdb, Codemirror, JSHint, resi
this.pagination = new Paginate.IndexPagination({
collection: this.collection,
- scrollToSelector: '#dashboard-lower-content',
+ scrollToSelector: '#dashboard-content',
previousUrlfn: function () {
return collection.urlPreviousPage(20, this.previousIds.pop());
},