summaryrefslogtreecommitdiffstats
path: root/extensions/Bitly/web
diff options
context:
space:
mode:
Diffstat (limited to 'extensions/Bitly/web')
-rw-r--r--extensions/Bitly/web/js/bitly.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/extensions/Bitly/web/js/bitly.js b/extensions/Bitly/web/js/bitly.js
index 6784c83e9..cdf1a917a 100644
--- a/extensions/Bitly/web/js/bitly.js
+++ b/extensions/Bitly/web/js/bitly.js
@@ -26,7 +26,7 @@ $(function() {
urls[type] = data.url;
$('#bitly-url').val(urls[type]).select().focus();
})
- .error(function(data) {
+ .fail(function(data) {
$('#bitly-url').val(data.responseJSON.message);
});
}