mirror of
https://github.com/hakimel/reveal.js.git
synced 2025-08-05 14:17:56 +02:00
don't write '#/' to url on first slide, remove history api feature detection
This commit is contained in:
@@ -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 ) );
|
Reference in New Issue
Block a user