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:
@@ -1232,13 +1232,14 @@ function searchTimeout(event) {
|
||||
}
|
||||
|
||||
if(/iPad|iPhone|iPod/.test(navigator.userAgent)){
|
||||
$(document).on('keydown', '.search_input', function(event) {
|
||||
$(document).on('touchend', '.search_input', function(event) {
|
||||
searchTimeout(event);
|
||||
});
|
||||
} else {
|
||||
|
||||
$(document).on('keyup', ".search_input", function(event) {
|
||||
searchTimeout(event);
|
||||
});
|
||||
|
||||
}
|
||||
|
||||
$(document).on("click", ".chat-tab", function(){
|
||||
|
||||
Reference in New Issue
Block a user