Skip to content

Commit ce7ca7b

Browse files
committed
refactor: should also fire handler if timestamp was same
1 parent 3a1a935 commit ce7ca7b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/platforms/web/runtime/modules/events.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -54,7 +54,7 @@ function add (
5454
const now = performance.now()
5555
const original = handler
5656
handler = original._wrapper = function (e) {
57-
if (e.timeStamp > now) {
57+
if (e.timeStamp >= now) {
5858
return original.apply(this, arguments)
5959
}
6060
}

0 commit comments

Comments
 (0)