]> git.mxchange.org Git - friendica.git/commit
improve like/share buttons
authorJakobus Schürz <jakobus.schuerz@schuerz.at>
Thu, 9 Mar 2023 13:55:43 +0000 (14:55 +0100)
committerJakobus Schürz <jakobus.schuerz@schuerz.at>
Tue, 14 Mar 2023 16:32:11 +0000 (17:32 +0100)
commitf8fc9c1e8ba93b4b66184e11e5dfd846f8b18e26
tree0078073d718749d1b513d2d8a405424814101f88
parentbb835848d4e1104cdd3ac282fc3c0da1781e4444
improve like/share buttons

change the button only if it could send its request successfully to the server.

fixes:
* disrupting a video on liking or sharing
* timeline jumps around somewhere else, when you like or share a
  posting/comment, and you can not find back.
view/theme/frio/js/theme.js
view/theme/frio/templates/like_noshare.tpl
view/theme/frio/templates/wall_thread.tpl