aboutsummaryrefslogtreecommitdiff
path: root/js/utils/device.js
diff options
context:
space:
mode:
Diffstat (limited to 'js/utils/device.js')
-rw-r--r--js/utils/device.js4
1 files changed, 1 insertions, 3 deletions
diff --git a/js/utils/device.js b/js/utils/device.js
index 1e787fb..ec1034f 100644
--- a/js/utils/device.js
+++ b/js/utils/device.js
@@ -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 ); \ No newline at end of file
+ ( isChrome || /Version\/[\d\.]+.*Safari/.test( UA ) ); \ No newline at end of file