committed by
					
						 GitHub
						GitHub
					
				
			
			
				
	
			
			
			
						parent
						
							6e86d4fe08
						
					
				
				
					commit
					00b76c0389
				
			| @@ -87,7 +87,7 @@ class CSSHelp { | |||||||
|       "link[href*='styles']" |       "link[href*='styles']" | ||||||
|     ); |     ); | ||||||
|     const style: HTMLStyleElement | null = this.doc?.querySelector('style'); |     const style: HTMLStyleElement | null = this.doc?.querySelector('style'); | ||||||
|     if (link) { |     if (link?.sheet?.cssRules?.length) { | ||||||
|       return link.sheet; |       return link.sheet; | ||||||
|     } else if (style) { |     } else if (style) { | ||||||
|       return style.sheet; |       return style.sheet; | ||||||
|   | |||||||
		Reference in New Issue
	
	Block a user