This website uses cookies to personalize your experience. By using this website you agree to our cookie policy.

Forum Replies Created

Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • in reply to: Not responding after 1 time clicking #10600
    Cenk ArslanCenk Arslan
    Participant

    Awesome! It works now. Thank you very much!

    in reply to: Not responding after 1 time clicking #10599
    Cenk ArslanCenk Arslan
    Participant

    Thank you! Which part needs to be in the function.php?

    This one?
    ———————————
    add_action( ‘wp_footer’, ‘asp_prevent_double_tap’ );
    function asp_prevent_double_tap() {
    ?>
    <script>
    jQuery(function($){
    $(‘.results’).on(‘click touchend’, ‘.item’, function(e){
    e.preventDefault();
    e.stopImmediatePropagation();
    e.stopPropagation();
    window.location.href = $(‘a.asp_res_url’, this).attr(‘href’);
    });
    });
    </script>
    <?php

    in reply to: Not responding after 1 time clicking #10597
    Cenk ArslanCenk Arslan
    Participant

    Hi Ernest,

    Thank you for the quick response. I have turned the keyboard behaviour off. Same results.

    I have tested it on the touchscreen Windows computer, maybe that’s reason why it didn’t work.

    How can I solve the mobile issue? An average user will not know about the double clicking behaviour when they are using a mobile device.

    Thank you,

    Cenk

    in reply to: Not responding after 1 time clicking #10594
    Cenk ArslanCenk Arslan
    Participant

    Hi Ernest,

    I have whitelisted the ip address. It’s the search suggestion link table..causes the user to double click a link instead of 1 click. Please see attached file.

Viewing 4 posts - 1 through 4 (of 4 total)