Navigation
This is archived content. Visit our new forum.

Tagged: 

  • Author
    Posts
  • #1255962
    Jan S
    Participant

    Hello,

    i’ve included an accordion, but on mobile devices the opening function does not work. I’ve already included the setTimeout..(touchstart)-hack from other posts, i worked with the last version of X, but not with the new one (4.6.4).

    Any new hacks to handle this?

    Jan

    #1255963
    Jan S
    Participant
    This reply has been marked as private.
    #1255990
    Rue Nel
    Moderator

    Hello There,

    Thanks for writing in! I can confirm that this is a bug in the latest release update. To resolve this issue, please add the following JS code in the customizer, Appearance > Customize > Custom > Javascript

    jQuery(document).ready(function($) {
      if ( $('html').hasClass('touchevents') ) {
        $('.vc_tta.vc_general .vc_tta-panel-title > a, .vc_tta.vc_general .vc_tta-panel-title > a').off('click touchstart touchend');
      }
    });

    We would loved to know if this has work for you. Thank you.

    #1256215
    Jan S
    Participant

    Ok, just because im curious: why dont you include this to base code ??

    #1256231
    Christian
    Moderator

    Hey Jan,

    There is currently a known bug in X which causes this and the code given is a temporary fix.

    Thanks.

  • <script> jQuery(function($){ $("#no-reply-1255962 .bbp-template-notice, .bbp-no-topic .bbp-template-notice").removeClass('bbp-template-notice'); }); </script>