summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--templates/apps/stats/user.html4
1 files changed, 2 insertions, 2 deletions
diff --git a/templates/apps/stats/user.html b/templates/apps/stats/user.html
index debf2e3..f3bc96d 100644
--- a/templates/apps/stats/user.html
+++ b/templates/apps/stats/user.html
@@ -4,8 +4,8 @@
$.ajax({
url: '/api/stats/user/{{username}}',
method: 'GET',
- start: $('#graph').spin("large"),
- stop: $('#graph').spin(false),
+ start: function() { $('#graph').spin("large") },
+ stop: function() { $('#graph').spin(false) },
success: function (resp) {
var graph = $('#graph');
series = [{label: 'Meeting minutes for {{username}}',data: resp['data']}];