Commit d51861f7 authored by Nico Boehr's avatar Nico Boehr

fix: entries not shared to wallabag when scrolling

parent 6703ad17
......@@ -10,11 +10,6 @@ function save_wallabag(active) {
}
wallabagBtn.text('.');
if (pending_entries[active.attr('id')]) {
return false;
}
pending_entries[active.attr('id')] = true;
$.ajax({
type: 'POST',
url: url,
......@@ -23,11 +18,9 @@ function save_wallabag(active) {
_csrf: context.csrf,
},
}).done(function (data) {
delete pending_entries[active.attr('id')];
wallabagBtn.text('');
}).fail(function (data) {
openNotification(i18n.notif_request_failed, 'bad');
delete pending_entries[active.attr('id')];
});
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment