Visual Composer Tabs does not work on mobile

Tested on mobile view in Chrome (CTRL-SHIFT-M) the tabs works, expand content on click. But when opened on actual mobile phone’s browser (Chrome, Firefox and iPhone’s Safari) the tabs doesn’t expand on click.

Here’s the page: http://wp.onlinelah.com/careers

Hi,

Thanks for writing in!

To fix it, you can add the code below in Theme Options > JS

jQuery( function($) {
jQuery('.vc_tta-tab a').on('click', function( e ){
setTimeout( function() { 
jQuery('html, body').stop().stop();
console.log('scrolling stopped');
}, 100 );
});
jQuery(document).ready(function() {
    jQuery('.vc_tta.vc_general .vc_tta-panel-title > a, .vc_tta.vc_general .vc_tta-panel-title > a, .vc_tta-tab a').off('click touchstart touchend');
});
});

Hope that helps.

This topic was automatically closed 10 days after the last reply. New replies are no longer allowed.