Bug 1227760 - Fix check for touch events being enabled on B2G. r=kats

This commit is contained in:
Botond Ballo 2015-11-27 19:14:23 -05:00
parent 96f1afe759
commit be2183efb0

View File

@ -65,7 +65,7 @@ if (!('BrowserElementIsPreloaded' in this)) {
Services.scriptloader.loadSubScript("chrome://global/content/BrowserElementChildPreload.js");
} else {
if (Services.prefs.getIntPref("dom.w3c_touch_events.enabled") == 1) {
if (Services.prefs.getIntPref("dom.w3c_touch_events.enabled") != 0) {
if (docShell.asyncPanZoomEnabled === false) {
ContentPanningAPZDisabled.init();
}