Showing
1 changed file
with
1 additions
and
1 deletions
@@ -67,7 +67,7 @@ exports.showDialog = function(data, callback, callbackForLeft, fullWithBtn) { | @@ -67,7 +67,7 @@ exports.showDialog = function(data, callback, callbackForLeft, fullWithBtn) { | ||
67 | 67 | ||
68 | // 延迟绑定事件,防止触发touch弹出dialog之后直接触发这个click | 68 | // 延迟绑定事件,防止触发touch弹出dialog之后直接触发这个click |
69 | setTimeout(() => { | 69 | setTimeout(() => { |
70 | - $dialogWrapper.on('click', function(event) { | 70 | + $dialogWrapper.on('touchend', function(event) { |
71 | if ($(event.target).hasClass('dialog-left-btn')) { | 71 | if ($(event.target).hasClass('dialog-left-btn')) { |
72 | if (typeof callbackForLeft === 'function') { | 72 | if (typeof callbackForLeft === 'function') { |
73 | callbackForLeft(); | 73 | callbackForLeft(); |
-
Please register or login to post a comment