1
0
mirror of https://github.com/gryf/pentadactyl-pm.git synced 2025-12-23 04:57:58 +01:00

Dispatch events from buffer.followLink as trusted events. Closes issue #124.

This commit is contained in:
Kris Maglione
2010-11-07 10:17:22 -05:00
parent 506c684073
commit ab81ed4cb4
4 changed files with 20 additions and 9 deletions

View File

@@ -56,7 +56,7 @@ const Editor = Module("editor", {
elem.scrollLeft = curLeft;
let event = elem.ownerDocument.createEvent("Event");
event.initEvent("input", true, false);
elem.dispatchEvent(event);
events.dispatch(elem, event);
}
},