瀏覽代碼

Prevent following links on click (for Android 4)

Yevhen Pavliuk 9 年之前
父節點
當前提交
3a948e8543
共有 1 個檔案被更改,包括 1 行新增1 行删除
  1. 1
    1
      src/editor.html

+ 1
- 1
src/editor.html 查看文件

858
 			}
858
 			}
859
 
859
 
860
 			function preventLinkFollowingOnTouch() {
860
 			function preventLinkFollowingOnTouch() {
861
-				$('#zss_editor_content').delegate('a', 'touchend', function(event) {
861
+				$('#zss_editor_content').delegate('a', 'click touchend', function(event) {
862
 					event.preventDefault();
862
 					event.preventDefault();
863
 				});
863
 				});
864
 			}
864
 			}