Bug 965621 - Use vc of eventmanager scope. instead of event document. r=yzen

This commit is contained in:
Eitan Isaacson 2014-02-11 10:41:02 -08:00
parent d809dcdce5
commit c81f555241

View File

@ -275,7 +275,7 @@ this.EventManager.prototype = {
let doc = aEvent.accessibleDocument;
if (acc.role != Roles.DOCUMENT && doc.role != Roles.CHROME_WINDOW) {
this.contentScope.content.clearTimeout(this._autoMove);
let vc = Utils.getVirtualCursor(doc);
let vc = Utils.getVirtualCursor(this.contentScope.content.document);
vc.moveNext(TraversalRules.Simple, acc, true);
}
break;