Skip to content

Commit

Permalink
[embedlite] Enable meta viewport support.
Browse files Browse the repository at this point in the history
The pref was added somewhere between v31 and v38. It's enabled by
default on b2g and fennect. The code that the feature controls was
enabled by default in enbedlite_31. Without meta viewport support most
mobile pages are broken and multitouch gestures don't work.
  • Loading branch information
tworaz committed Jul 15, 2015
1 parent 2af90b7 commit e668c52
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions embedding/embedlite/embedding.js
@@ -1,4 +1,5 @@
pref("dom.w3c_touch_events.enabled", 1);
pref("dom.meta-viewport.enabled", true);
pref("plugins.force.wmode", "opaque");
pref("browser.xul.error_pages.enabled", true);
pref("nglayout.debug.paint_flashing", false);
Expand Down

0 comments on commit e668c52

Please sign in to comment.