Bug 1051738 - B2G NFC: typo in getNFCPeer. r=dimi

From bea6af520beedcc4547ce5c45c4d78faa63d5812 Mon Sep 17 00:00:00 2001
---
 dom/nfc/nsNfc.js | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
This commit is contained in:
Yoshi Huang 2014-08-11 17:19:11 +08:00
parent c35e572235
commit 6e2d19f6db

View File

@ -212,7 +212,7 @@ mozNfc.prototype = {
return null;
}
if (!this.nfcObject || this.nfcObject.token != sessionToken) {
if (!this.nfcObject || this.nfcObject.session != sessionToken) {
let obj = new MozNFCPeer();
obj.initialize(this._window, sessionToken);
this.nfcObject = obj;