Skip to content

Commit 3a948e8

Browse files
committed
Prevent following links on click (for Android 4)
1 parent 4da94fd commit 3a948e8

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/editor.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -858,7 +858,7 @@
858858
}
859859

860860
function preventLinkFollowingOnTouch() {
861-
$('#zss_editor_content').delegate('a', 'touchend', function(event) {
861+
$('#zss_editor_content').delegate('a', 'click touchend', function(event) {
862862
event.preventDefault();
863863
});
864864
}

0 commit comments

Comments
 (0)