summaryrefslogtreecommitdiffstats
path: root/extensions/OrangeFactor
diff options
context:
space:
mode:
Diffstat (limited to 'extensions/OrangeFactor')
-rw-r--r--extensions/OrangeFactor/web/js/orange_factor.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/extensions/OrangeFactor/web/js/orange_factor.js b/extensions/OrangeFactor/web/js/orange_factor.js
index 26edb9aa1..c87339dc7 100644
--- a/extensions/OrangeFactor/web/js/orange_factor.js
+++ b/extensions/OrangeFactor/web/js/orange_factor.js
@@ -81,7 +81,7 @@ $(function() {
.done(function(data) {
getOrangeCount(data);
})
- .error(function() {
+ .fail(function() {
$('#graph-count').hide();
$('#orange-graph').hide()
});