mirror of
				https://github.com/TeamPiped/Piped.git
				synced 2025-11-04 14:41:57 +00:00 
			
		
		
		
	Dismiss autoplay on page unload.
This commit is contained in:
		@@ -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() {
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user