How to make it work with double click on touch screens?

Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • #100269
    DENZLER
    Guest

    Hi,

    I purchased the pro version and so far I am pleased with the plugin. There’s only one thing I don’t know how to implement that the add button would only work on double click for touch screens (mobile, tablet…). I have not seen the option.

    Could you please tell me how it’s done?

    Thanks in advance for your reply.

    Kind regards,

    Valérie D.

    #100270
    Pablo Pacheco
    Participant

    Hi Denzler,

    I just created a new filter for you. Please update the Pro plugin to version 1.9.2 and add this to your functions.php:

    add_filter( 'alg_wc_wl_toggle_item_events', function ( $events ) {
    	$events['touchscreen'] = array( 'dblclick' );
    	return $events;
    } );
    

    Let me know if it helps 😉

Viewing 2 posts - 1 through 2 (of 2 total)
  • You must be logged in to reply to this topic.