mirror of
https://gitee.com/shuto-github/cordova-plugin-network-information.git
synced 2026-04-22 00:00:02 +08:00
CB-8185 Fixes typo in cordova.platformId
This commit is contained in:
+1
-1
@@ -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';
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user