summaryrefslogtreecommitdiff
path: root/share/www/index.html
diff options
context:
space:
mode:
Diffstat (limited to 'share/www/index.html')
-rw-r--r--share/www/index.html12
1 files changed, 6 insertions, 6 deletions
diff --git a/share/www/index.html b/share/www/index.html
index 07bc63d4..37df0960 100644
--- a/share/www/index.html
+++ b/share/www/index.html
@@ -23,17 +23,17 @@ specific language governing permissions and limitations under the License.
<script src="script/jquery.cookies.js?0.9.0"></script>
<script src="script/jquery.couch.js?0.9.0"></script>
<script src="script/jquery.dialog.js?0.9.0"></script>
+ <script src="script/futon.js?0.9.0"></script>
<script src="script/browse.js?0.9.0"></script>
<script src="script/pprint.js?0.9.0"></script>
<script>
var page = new CouchIndexPage();
$(document).ready(function() {
- $.get("_sidebar.html", function(resp) {
- $(resp).insertAfter("#wrap");
- if (!/index\.html$/.test(location.pathname)) {
- updateNavigation(location.pathname + "index.html");
- }
- });
+ if (!/index\.html$/.test(location.pathname)) {
+ $.futon.navigation.ready(function() {
+ this.updateSelection(location.pathname + "index.html");
+ });
+ }
var dbsPerPage = $.cookies.get("perpage");
if (dbsPerPage) $("#perpage").val(dbsPerPage);
$("#perpage").change(function() {