Minor fixes
This commit is contained in:
		
							
								
								
									
										2
									
								
								src/js/controls.js
									
									
									
									
										vendored
									
									
								
							
							
						
						
									
										2
									
								
								src/js/controls.js
									
									
									
									
										vendored
									
									
								
							| @ -79,7 +79,7 @@ const controls = { | ||||
|         // https://github.com/sampotts/plyr/issues/460 | ||||
|         // https://developer.mozilla.org/en-US/docs/Web/SVG/Attribute/xlink:href | ||||
|         if ('href' in use) { | ||||
|             use.setAttribute('href', path); | ||||
|             use.setAttributeNS('http://www.w3.org/1999/xlink', 'href', path); | ||||
|         } else { | ||||
|             use.setAttributeNS('http://www.w3.org/1999/xlink', 'xlink:href', path); | ||||
|         } | ||||
|  | ||||
| @ -432,7 +432,7 @@ const listeners = { | ||||
|         // Airplay | ||||
|         utils.on(this.elements.buttons.airplay, 'click', event => | ||||
|             proxy(event, 'airplay', () => { | ||||
|                 this.airPlay(); | ||||
|                 this.airplay(); | ||||
|             }) | ||||
|         ); | ||||
|  | ||||
|  | ||||
		Reference in New Issue
	
	Block a user