Home Forums Tucson Template First ticket – the tap for mobile doesn’t open the link on the top image circles

This topic contains 1 reply, has 2 voices, and was last updated by  Support 2 years, 8 months ago. This post has been viewed 1047 times

Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • #10017330

    Shahla
    Participant

    Hi

    I created this ticket few days ago for the first time and you didn’t respond yet. So I have created it again.
    for home page portfolio, when we tap on the images in circle (for mobile or touch screen laptop) doesn’t open (nothing happens, it only shows the tooltip).

    Thanks
    Shahla


    #10017335

    Support
    Keymaster

    Hello, I’m sorry, but I haven’t seen the first ticket until now.

    In order to fix that problem please add the following JS code:

    (js/custom.js)

    $(document).on('touchstart click', '.main-carousel .thumb-info', function(event){
    	event.stopPropagation();
    	event.preventDefault();
    	if(event.handled !== true) {
    
    		self.location = $(this).attr('href');
    
    		event.handled = true;
    	} else {
    		return false;
    	}
    });

    Kind Regards,

    Jonas


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