Skip to content

Commit

Permalink
Fix issue in Windows 10 building and on Phone
Browse files Browse the repository at this point in the history
  • Loading branch information
Lionel Laské committed Apr 11, 2016
1 parent 239b9d7 commit 8f5f64b
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 2 deletions.
2 changes: 2 additions & 0 deletions config.xml
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,8 @@

<preference name="Orientation" value="landscape" />

<preference name="windows-target-version" value="10.0" />

<content src="index.html" />
<plugin name="cordova-plugin-whitelist" version="1" />
<access origin="*" />
Expand Down
2 changes: 1 addition & 1 deletion js/icon.js
Original file line number Diff line number Diff line change
Expand Up @@ -107,7 +107,7 @@ enyo.kind({
mouse.position = {x: e.touches[0].clientX, y: e.touches[0].clientY};
that.popupShowTimer();
});
enyo.dispatcher.listen(node, "touchend", function() {
enyo.dispatcher.listen(node, "touchend", function(e) {
mouse.position = {x: e.touches[0].clientX, y: e.touches[0].clientY};
that.popupHideTimer();
});
Expand Down
2 changes: 1 addition & 1 deletion lib/enyo/enyo.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit 8f5f64b

Please sign in to comment.