mirror of
https://github.com/Stremio/stremio-web.git
synced 2026-04-21 07:32:02 +00:00
Merge pull request #730 from Stremio/fix/video-menu-click-bug
fix: bug when clicking on mark as watched button
This commit is contained in:
commit
cebb325a26
1 changed files with 1 additions and 0 deletions
|
|
@ -47,6 +47,7 @@ const Video = ({ className, id, title, thumbnail, episode, released, upcoming, w
|
||||||
}, []);
|
}, []);
|
||||||
const toggleWatchedOnClick = React.useCallback((event) => {
|
const toggleWatchedOnClick = React.useCallback((event) => {
|
||||||
event.preventDefault();
|
event.preventDefault();
|
||||||
|
event.stopPropagation();
|
||||||
closeMenu();
|
closeMenu();
|
||||||
core.transport.dispatch({
|
core.transport.dispatch({
|
||||||
action: 'MetaDetails',
|
action: 'MetaDetails',
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue