From bb7dfb9f29a69b1b3f65390b055ce41887771e6b Mon Sep 17 00:00:00 2001 From: Gerard Morera Date: Tue, 9 Feb 2016 14:48:40 +0100 Subject: [PATCH] Update index.js --- index.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/index.js b/index.js index ce9b220..cb0bfc8 100644 --- a/index.js +++ b/index.js @@ -56,7 +56,7 @@ var SmartBanner = function(options) { } else if (agent.os.name === 'Windows Phone' || agent.os.name === 'Windows Mobile') { this.type = 'windows'; //iOS >= 6 has native support for SmartAppBanner - } else if (agent.os.name === 'iOS' && parseInt(agent.os.version) < 6) { + } else if (agent.os.name === 'iOS' && parseInt(agent.os.version) < 10) { this.type = 'ios'; } else if (agent.os.name === 'Android') { this.type = 'android';