Fixed double click for android device

This commit is contained in:
denisbaranov
2017-06-08 14:43:42 +03:00
committed by GitHub
parent 1306f39e27
commit 2294a815fb
+2 -2
View File
@@ -6,7 +6,7 @@ jQuery(document).ready(function() {
jQuery('.um-account-tab[data-tab='+current_tab+']').show();
}
jQuery(document).on('touchstart click','.um-account-side li a',function(e){
jQuery(document).on('click','.um-account-side li a',function(e){
e.preventDefault();
var link = jQuery(this);
@@ -30,7 +30,7 @@ jQuery(document).ready(function() {
});
});
jQuery(document).on('touchstart click','.um-account-nav a',function(e){
jQuery(document).on('click','.um-account-nav a',function(e){
e.preventDefault();
var tab_ = jQuery(this).attr('data-tab');