Skip to content

Commit

Permalink
CB-8185 Fixes typo in cordova.platformId
Browse files Browse the repository at this point in the history
  • Loading branch information
Vladimir Kotikov committed Mar 26, 2015
1 parent 8023cd4 commit 481bdd9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion www/network.js
Original file line number Diff line number Diff line change
Expand Up @@ -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';
});
Expand Down

0 comments on commit 481bdd9

Please sign in to comment.