mirror of
				https://github.com/TeamPiped/Piped.git
				synced 2024-08-14 23:57:27 +00:00 
			
		
		
		
	
							parent
							
								
									fbfff8386f
								
							
						
					
					
						commit
						6f3371779b
					
				
					 2 changed files with 2 additions and 2 deletions
				
			
		| 
						 | 
					@ -104,7 +104,7 @@ export default {
 | 
				
			||||||
            this.selectedInstance = localStorage.getItem("instance") || "https://pipedapi.kavin.rocks";
 | 
					            this.selectedInstance = localStorage.getItem("instance") || "https://pipedapi.kavin.rocks";
 | 
				
			||||||
 | 
					
 | 
				
			||||||
            this.sponsorBlock = localStorage.getItem("sponsorblock") || true;
 | 
					            this.sponsorBlock = localStorage.getItem("sponsorblock") || true;
 | 
				
			||||||
            if (localStorage.getItem("selectedSkip")) {
 | 
					            if (localStorage.getItem("selectedSkip") !== null) {
 | 
				
			||||||
                var skipList = localStorage.getItem("selectedSkip").split(",");
 | 
					                var skipList = localStorage.getItem("selectedSkip").split(",");
 | 
				
			||||||
                this.skipSponsor = this.skipIntro = this.skipOutro = this.skipInteraction = this.skipSelfPromo = this.skipMusicOffTopic = false;
 | 
					                this.skipSponsor = this.skipIntro = this.skipOutro = this.skipInteraction = this.skipSelfPromo = this.skipMusicOffTopic = false;
 | 
				
			||||||
                skipList.forEach(skip => {
 | 
					                skipList.forEach(skip => {
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
| 
						 | 
					@ -93,7 +93,7 @@ export default {
 | 
				
			||||||
                    "/sponsors/" +
 | 
					                    "/sponsors/" +
 | 
				
			||||||
                    this.$route.query.v +
 | 
					                    this.$route.query.v +
 | 
				
			||||||
                    "?category=" +
 | 
					                    "?category=" +
 | 
				
			||||||
                    (localStorage && localStorage.getItem("selectedSkip")
 | 
					                    (localStorage && localStorage.getItem("selectedSkip") !== null
 | 
				
			||||||
                        ? encodeURIComponent('["' + localStorage.getItem("selectedSkip").replace(",", '","') + '"]')
 | 
					                        ? encodeURIComponent('["' + localStorage.getItem("selectedSkip").replace(",", '","') + '"]')
 | 
				
			||||||
                        : encodeURIComponent('["sponsor", "interaction", "selfpromo", "music_offtopic"]')),
 | 
					                        : encodeURIComponent('["sponsor", "interaction", "selfpromo", "music_offtopic"]')),
 | 
				
			||||||
            );
 | 
					            );
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue