1
0
mirror of https://github.com/webslides/WebSlides.git synced 2025-08-18 10:51:28 +02:00

Ensuring the navigation works on any iOS device

Fixes #79
This commit is contained in:
Antonio Laguna
2017-04-26 20:07:15 +02:00
parent 5024cca7d9
commit d592006bfa

View File

@@ -26,7 +26,7 @@ export default class MobileDetector {
* @return {Boolean}
*/
static isiOS() {
return !!UA.match(/iPhone/i);
return !!UA.match(/iPad|iPhone|iPod/i);
}
/**