Skip to content

Commit

Permalink
Fix names of touch event listeners (#872)
Browse files Browse the repository at this point in the history
  • Loading branch information
AlephAlpha authored and jstarry committed Jan 14, 2020
1 parent 943d2ca commit e38ed00
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions src/html/listener.rs
Original file line number Diff line number Diff line change
Expand Up @@ -134,11 +134,11 @@ impl_action! {
}
}
}
touchcancel(event: TouchCancel) -> TouchCancel => |_, event| { event }
touchend(event: TouchEnd) -> TouchEnd => |_, event| { event }
touchenter(event: TouchEnter) -> TouchEnter => |_, event| { event }
touchmove(event: TouchMove) -> TouchMove => |_, event| { event }
touchstart(event: TouchStart) -> TouchStart => |_, event| { event }
ontouchcancel(event: TouchCancel) -> TouchCancel => |_, event| { event }
ontouchend(event: TouchEnd) -> TouchEnd => |_, event| { event }
ontouchenter(event: TouchEnter) -> TouchEnter => |_, event| { event }
ontouchmove(event: TouchMove) -> TouchMove => |_, event| { event }
ontouchstart(event: TouchStart) -> TouchStart => |_, event| { event }
}

/// A type representing data from `oninput` event.
Expand Down

0 comments on commit e38ed00

Please sign in to comment.