]> git.mxchange.org Git - friendica.git/commit
Improve performance of asynchronous like/update
authorHypolite Petovan <hypolite@mrpetovan.com>
Wed, 27 May 2020 12:30:26 +0000 (08:30 -0400)
committerHypolite Petovan <hypolite@mrpetovan.com>
Wed, 27 May 2020 12:41:10 +0000 (08:41 -0400)
commit2d217129b9fb2e4379b728b01ec73fc0be8c58ff
tree223413daa1ffa50ce4721821eb234081b41532db
parent9ebb2c6527499c1a398491445700fa5651cb475e
Improve performance of asynchronous like/update

- Make the like module return earlier instead of outputting a full empty HTML page
- Update the force_update variable earlier to prevent spilling on multiple unrelated nav update calls
src/Module/Like.php
view/js/main.js