Skip to content

Commit

Permalink
Maps app: remove unneeded preventTap call
Browse files Browse the repository at this point in the history
  • Loading branch information
frankiefu committed Apr 3, 2012
1 parent 0f46c69 commit 862d129
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 6 deletions.
2 changes: 1 addition & 1 deletion examples/Maps/index.html
Expand Up @@ -9,7 +9,7 @@
</head>
<body>
<script type="text/javascript">
new MapsApp({fit: true, classes: "enyo-fit enyo-unselectable"}).write();
new MapsApp({fit: true, classes: "onyx enyo-unselectable"}).write();
</script>
</body>
</html>
2 changes: 1 addition & 1 deletion examples/Maps/source/MapsApp.js
@@ -1,6 +1,6 @@
enyo.kind({
name: "MapsApp",
classes: "app onyx",
classes: "app",
components: [
{kind: "FittableRows", classes: "enyo-fit", components: [
{kind: "onyx.Toolbar", components: [
Expand Down
5 changes: 1 addition & 4 deletions examples/Maps/source/Pullout.js
Expand Up @@ -31,7 +31,7 @@ enyo.kind({
{content: "Saved", active: true},
{content: "Recents"}
]},
{fit: true, kind: "Scroller", classes: "bookmark-scroller", ondragfinish: "preventDragTap", components: [
{fit: true, kind: "Scroller", classes: "bookmark-scroller", components: [
{kind: "BookmarkList", onItemSelect: "itemSelect"}
]}
]}
Expand Down Expand Up @@ -69,8 +69,5 @@ enyo.kind({
},
itemSelect: function(inSender, inItem) {
this.doBookmarkSelect(inItem);
},
preventDragTap: function(inSender, inEvent) {
inEvent.preventTap();
}
})

0 comments on commit 862d129

Please sign in to comment.