Fix bug which enabled plugin by default on all platforms

This commit is contained in:
Sebastián Katzer 2014-12-04 14:19:38 +01:00
parent 5e1b60d363
commit 42a1553a5e

View File

@ -31,7 +31,7 @@ channel.deviceready.subscribe(function () {
exports.configure();
// Only enable WP8 by default
if (['WinCE', 'Win32NT'].indexOf(device.platform)) {
if (['WinCE', 'Win32NT'].indexOf(device.platform) > -1) {
exports.enable();
}
});