CB-8185 Fixes typo in cordova.platformId

This commit is contained in:
Vladimir Kotikov 2015-03-26 19:03:33 +03:00
parent 8023cd46dd
commit 481bdd93b0

View File

@ -28,7 +28,7 @@ var exec = require('cordova/exec'),
// object in bootstrap.js.
// Browser platform do not need to define this property, because
// it is already supported by modern browsers
if (cordova.platforId !== 'browser' && typeof navigator != 'undefined') {
if (cordova.platformId !== 'browser' && typeof navigator != 'undefined') {
utils.defineGetter(navigator, 'onLine', function() {
return this.connection.type != 'none';
});