From d592006bfa04ff676382ab8fad4ede770b92614a Mon Sep 17 00:00:00 2001 From: Antonio Laguna Date: Wed, 26 Apr 2017 20:07:15 +0200 Subject: [PATCH] Ensuring the navigation works on any iOS device Fixes #79 --- src/js/utils/mobile-detector.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/js/utils/mobile-detector.js b/src/js/utils/mobile-detector.js index 9beb94d..558e2a4 100644 --- a/src/js/utils/mobile-detector.js +++ b/src/js/utils/mobile-detector.js @@ -26,7 +26,7 @@ export default class MobileDetector { * @return {Boolean} */ static isiOS() { - return !!UA.match(/iPhone/i); + return !!UA.match(/iPad|iPhone|iPod/i); } /**