mirror of
https://github.com/KevinMidboe/zoff.git
synced 2025-10-29 18:00:23 +00:00
Fixed touch error on iphone/ipad
This commit is contained in:
4
public/dist/embed.min.js
vendored
4
public/dist/embed.min.js
vendored
File diff suppressed because one or more lines are too long
2
public/dist/main.min.js
vendored
2
public/dist/main.min.js
vendored
File diff suppressed because one or more lines are too long
@@ -1232,13 +1232,14 @@ function searchTimeout(event) {
|
|||||||
}
|
}
|
||||||
|
|
||||||
if(/iPad|iPhone|iPod/.test(navigator.userAgent)){
|
if(/iPad|iPhone|iPod/.test(navigator.userAgent)){
|
||||||
$(document).on('keydown', '.search_input', function(event) {
|
$(document).on('touchend', '.search_input', function(event) {
|
||||||
searchTimeout(event);
|
searchTimeout(event);
|
||||||
});
|
});
|
||||||
} else {
|
|
||||||
$(document).on('keyup', ".search_input", function(event) {
|
$(document).on('keyup', ".search_input", function(event) {
|
||||||
searchTimeout(event);
|
searchTimeout(event);
|
||||||
});
|
});
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
$(document).on("click", ".chat-tab", function(){
|
$(document).on("click", ".chat-tab", function(){
|
||||||
|
|||||||
Reference in New Issue
Block a user