diff --git a/README.md b/README.md index d9c9582fd..86232f36a 100644 --- a/README.md +++ b/README.md @@ -60,7 +60,7 @@ Bug Fixes * The Static, Kinematic and Dynamic consts that P2.Body uses were incorrect (fixes #563) * Sprite.destroy would fail if it had an Arcade Physics body, now added. * Group.getAt comparison updated (fixes #578) - +* Fixed the IE11 version check (fixes #579) Version 2.0.0 - "Aes Sedai" - March 13th 2014 diff --git a/src/system/Device.js b/src/system/Device.js index 15e500a27..44922cc84 100644 --- a/src/system/Device.js +++ b/src/system/Device.js @@ -579,12 +579,12 @@ Phaser.Device.prototype = { { this.silk = true; } - else if (/Trident\/(\d+\.\d+); rv:(\d+\.\d+)/.test(ua)) + else if (/Trident\/(\d+\.\d+)(.*)rv:(\d+\.\d+)/.test(ua)) { this.ie = true; this.trident = true; this.tridentVersion = parseInt(RegExp.$1, 10); - this.ieVersion = parseInt(RegExp.$2, 10); + this.ieVersion = parseInt(RegExp.$3, 10); } // WebApp mode in iOS