1
0
mirror of https://github.com/gryf/pentadactyl-pm.git synced 2025-12-20 04:27:59 +01:00

Work around stupid fucking crash on FF3.6. Closes issue \#127.

Update issue \#124
This is not fixed on Firefox <4.0, given that the correct fix causes
crashes.

--HG--
extra : rebase_source : 1cade319b1260cb1dc20330a338ce34104ffddff
This commit is contained in:
Kris Maglione
2010-11-08 07:18:11 -05:00
parent b21c2a093f
commit f004a80d55
4 changed files with 18 additions and 6 deletions

View File

@@ -645,7 +645,8 @@ const Buffer = Module("buffer", {
prefs.withContext(function () {
prefs.set("browser.tabs.loadInBackground", true);
["mousedown", "mouseup"].forEach(function (event) {
["mousedown", "mouseup", "click"].slice(0, util.haveGecko("2.0") ? 2 : 3)
.forEach(function (event) {
events.dispatch(elem, events.create(doc, event, {
screenX: offsetX, screenY: offsetY,
ctrlKey: ctrlKey, shiftKey: shiftKey, metaKey: ctrlKey