Bug 773431 - Ensure we grab touchstart events in capture mode since content can kill it before it bubbles. r=wesj

This commit is contained in:
Kartikaya Gupta 2012-07-24 12:53:47 -04:00
parent d726239623
commit 7e94c8a36e

View File

@ -3227,7 +3227,7 @@ var BrowserEventHandler = {
Services.obs.addObserver(this, "dom-touch-listener-added", false);
BrowserApp.deck.addEventListener("DOMUpdatePageReport", PopupBlockerObserver.onUpdatePageReport, false);
BrowserApp.deck.addEventListener("touchstart", this, false);
BrowserApp.deck.addEventListener("touchstart", this, true);
BrowserApp.deck.addEventListener("click", SelectHelper, true);
},