Skip to content
This repository has been archived by the owner on Nov 3, 2021. It is now read-only.

Commit

Permalink
Merge pull request #14056 from nth10sd/bug939976
Browse files Browse the repository at this point in the history
Bug 939976 - JavascriptException: TypeError: invalid 'in' operand voice lockscreen.js
  • Loading branch information
rvandermeulen committed Nov 26, 2013
2 parents 881e307 + 7eed3f9 commit bb8d985
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion apps/system/js/lockscreen.js
Expand Up @@ -1071,7 +1071,7 @@ var LockScreen = {
// 'notSearching', 'searching', 'denied', 'registered',
// where the latter three mean the phone is trying to grab the network.
// See https://bugzilla.mozilla.org/show_bug.cgi?id=777057
if ('state' in voice && voice.state == 'notSearching') {
if (voice && 'state' in voice && voice.state == 'notSearching') {
updateConnstateLine1('noNetwork');
return;
}
Expand Down

0 comments on commit bb8d985

Please sign in to comment.