mirror of
https://gitee.com/shuto-github/cordova-plugin-network-information.git
synced 2026-04-03 00:00:03 +08:00
Fix naviagtor typo
This commit is contained in:
@@ -24,7 +24,7 @@ var exec = require('cordova/exec'),
|
||||
utils = require('cordova/utils');
|
||||
|
||||
// Link the onLine property with the Cordova-supplied network info.
|
||||
// This works because we clobber the naviagtor object with our own
|
||||
// This works because we clobber the navigator object with our own
|
||||
// object in bootstrap.js.
|
||||
if (typeof navigator != 'undefined') {
|
||||
utils.defineGetter(navigator, 'onLine', function() {
|
||||
|
||||
Reference in New Issue
Block a user