mirror of
https://github.com/TeamPiped/Piped.git
synced 2024-08-14 23:57:27 +00:00
Dismiss autoplay on page unload.
This commit is contained in:
parent
096999a69e
commit
f1c1cb94f8
1 changed files with 2 additions and 0 deletions
|
@ -372,10 +372,12 @@ export default {
|
|||
deactivated() {
|
||||
this.active = false;
|
||||
window.removeEventListener("scroll", this.handleScroll);
|
||||
this.dismiss();
|
||||
},
|
||||
unmounted() {
|
||||
window.removeEventListener("scroll", this.handleScroll);
|
||||
window.removeEventListener("click", this.handleClick);
|
||||
this.dismiss();
|
||||
},
|
||||
methods: {
|
||||
fetchVideo() {
|
||||
|
|
Loading…
Reference in a new issue