Bug 975276 - Fix cursor parameter mistake of setComposition. r=masayuki

This commit is contained in:
Yuan Xulei 2014-06-17 12:05:49 +08:00
parent 8e4824a6f8
commit 370330a323

View File

@ -574,7 +574,7 @@ MozInputContext.prototype = {
contextId: self._contextId,
requestId: resolverId,
text: text,
cursor: cursor || text.length,
cursor: (typeof cursor !== 'undefined') ? cursor : text.length,
clauses: clauses || null
});
});