mirror of
https://github.com/friendica/friendica
synced 2025-04-26 03:50:12 +00:00
allow live updates for unlikes and undislikes
This commit is contained in:
parent
15cae001d9
commit
88711deceb
4 changed files with 8 additions and 5 deletions
|
@ -357,9 +357,9 @@
|
|||
function dolike(ident,verb) {
|
||||
unpause();
|
||||
$('#like-rotator-' + ident.toString()).show();
|
||||
$.get('like/' + ident.toString() + '?verb=' + verb );
|
||||
if(timer) clearTimeout(timer);
|
||||
timer = setTimeout(NavUpdate,3000);
|
||||
$.get('like/' + ident.toString() + '?verb=' + verb, NavUpdate );
|
||||
// if(timer) clearTimeout(timer);
|
||||
// timer = setTimeout(NavUpdate,3000);
|
||||
liking = 1;
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue