Skip to content

Commit f281e7c

Browse files
committed
Prevent default on dbltap.
1 parent 7d813c9 commit f281e7c

3 files changed

Lines changed: 4 additions & 2 deletions

File tree

d3.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1244,6 +1244,7 @@ d3 = function() {
12441244
var p = touches[0], l = location(touches[0]);
12451245
scaleTo(scale * 2);
12461246
translateTo(p, l);
1247+
d3_eventPreventDefault();
12471248
dispatch(event_);
12481249
}
12491250
touchtime = now;

0 commit comments

Comments
 (0)