summaryrefslogtreecommitdiff
path: root/share/www/script/futon.js
diff options
context:
space:
mode:
Diffstat (limited to 'share/www/script/futon.js')
-rw-r--r--share/www/script/futon.js4
1 files changed, 4 insertions, 0 deletions
diff --git a/share/www/script/futon.js b/share/www/script/futon.js
index 493637ec..074451d6 100644
--- a/share/www/script/futon.js
+++ b/share/www/script/futon.js
@@ -107,6 +107,10 @@
navigation: new Navigation()
});
+ $(document)
+ .ajaxStart(function() { $(this.body).addClass("loading"); })
+ .ajaxStop(function() { $(this.body).removeClass("loading"); });
+
$(function() {
document.title = "Apache CouchDB - Futon: " + document.title;
$.get("_sidebar.html", function(resp) {