aboutsummaryrefslogtreecommitdiff
path: root/p/scripts/main.js
diff options
context:
space:
mode:
authorGravatar Alexandre Alapetite <alexandre@alapetite.fr> 2016-08-06 14:13:03 +0200
committerGravatar Alexandre Alapetite <alexandre@alapetite.fr> 2016-08-06 14:13:03 +0200
commita051970d5b15a60e79ac2428280652486644c11c (patch)
tree5ba4bb540c12fa590055b23aee19f11d97cbed81 /p/scripts/main.js
parent5fa4f40133c78388ce3474f3d211707ea3c04ce6 (diff)
jQuery 3 compatibility
https://jquery.com/upgrade-guide/3.0/ * event.props removed https://jquery.com/upgrade-guide/3.0/#breaking-change-jquery-event-props-and-jquery-event-fixhooks-removed https://github.com/jquery/api.jquery.com/issues/405 * jqXHR.success(), jqXHR.error(), and jqXHR.complete() removed
Diffstat (limited to 'p/scripts/main.js')
-rw-r--r--p/scripts/main.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/p/scripts/main.js b/p/scripts/main.js
index 01c8c9cf5..c95df54fa 100644
--- a/p/scripts/main.js
+++ b/p/scripts/main.js
@@ -772,7 +772,7 @@ function updateFeed(feeds, feeds_count) {
$.ajax({
type: 'POST',
url: feed['url'],
- }).complete(function (data) {
+ }).always(function (data) {
feed_processed++;
$("#actualizeProgress .progress").html(feed_processed + " / " + feeds_count);
$("#actualizeProgress .title").html(feed['title']);