don't write '#/' to url on first slide, remove history api feature detection
This commit is contained in:
		
							parent
							
								
									7ebade7248
								
							
						
					
					
						commit
						c91074761a
					
				
					 4 changed files with 16 additions and 10 deletions
				
			
		|  | @ -12,6 +12,4 @@ export const isAndroid = /android/gi.test( UA ); | |||
| // up slides. Zoom produces crisper results but has a lot of
 | ||||
| // xbrowser quirks so we only use it in whitelisted browsers.
 | ||||
| export const supportsZoom = 'zoom' in testElement.style && !isMobile && | ||||
| 				( isChrome || /Version\/[\d\.]+.*Safari/.test( UA ) ); | ||||
| 
 | ||||
| export const supportsHistoryAPI = typeof window.history.replaceState === 'function' && !/PhantomJS/.test( UA ); | ||||
| 				( isChrome || /Version\/[\d\.]+.*Safari/.test( UA ) ); | ||||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue