mirror of
https://gitee.com/shuto/cordova-plugin-network-information.git
synced 2025-01-18 21:52:48 +08:00
CB-8185 Fixes typo in cordova.platformId
This commit is contained in:
parent
8023cd46dd
commit
481bdd93b0
@ -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';
|
||||
});
|
||||
|
Loading…
Reference in New Issue
Block a user