Small fixes
This commit is contained in:
		
							
								
								
									
										2
									
								
								src/js/controls.js
									
									
									
									
										vendored
									
									
								
							
							
						
						
									
										2
									
								
								src/js/controls.js
									
									
									
									
										vendored
									
									
								
							| @ -400,7 +400,7 @@ const controls = { | ||||
|         if (utils.is.event(event)) { | ||||
|             percent = 100 / clientRect.width * (event.pageX - clientRect.left); | ||||
|         } else if (utils.hasClass(this.elements.display.seekTooltip, visible)) { | ||||
|             percent = this.elements.display.seekTooltip.style.left.replace('%', ''); | ||||
|             percent = parseFloat(this.elements.display.seekTooltip.style.left, 10); | ||||
|         } else { | ||||
|             return; | ||||
|         } | ||||
|  | ||||
| @ -33,7 +33,7 @@ | ||||
|  | ||||
| // border-box everything | ||||
| // http://paulirish.com/2012/box-sizing-border-box-ftw/ | ||||
| @if $plyr-border-box == true { | ||||
| @if $plyr-border-box { | ||||
|     .plyr--full-ui { | ||||
|         box-sizing: border-box; | ||||
|  | ||||
| @ -46,7 +46,7 @@ | ||||
| } | ||||
|  | ||||
| // Fix 300ms delay | ||||
| @if $plyr-touch-action == true { | ||||
| @if $plyr-touch-action { | ||||
|     .plyr--full-ui { | ||||
|         a, | ||||
|         button, | ||||
|  | ||||
| @ -17,15 +17,13 @@ | ||||
|     overflow: hidden; | ||||
|  | ||||
|     // !important is not always needed | ||||
|     @if $plyr-sr-only-important == true { | ||||
|     @if $plyr-sr-only-important { | ||||
|         border: 0 !important; | ||||
|         height: 1px !important; | ||||
|         padding: 0 !important; | ||||
|         position: absolute !important; | ||||
|         width: 1px !important; | ||||
|     } | ||||
|  | ||||
|     @if $plyr-sr-only-important == false { | ||||
|     } @else { | ||||
|         border: 0; | ||||
|         height: 1px; | ||||
|         padding: 0; | ||||
|  | ||||
		Reference in New Issue
	
	Block a user