• Resolved andreacreact

    (@andreacreact)


    i tried to insert the after before element in a page layout, with dynamic data, it doesn’t appear in bricks or in front-end but i can set all the options, tried with both default image and entering dynamic data i need

    this is the file /wp-content/plugins/bricksable/includes/elements/before-after-image/assets/js/frontend.min.js?ver=1.6.29

    This is the error Uncaught TypeError: Cannot read properties of undefined (reading ‘classList’)
    at t.value (frontend.min.js?ver=1.6.29:1:35459)
    at t.value (frontend.min.js?ver=1.6.29:1:30208)
    at frontend.min.js?ver=1.6.29:1:615
    at Array.forEach ()
    at bricksableBAImage (frontend.min.js?ver=1.6.29:1:132)
    at HTMLDocument. (frontend.min.js?ver=1.6.29:1:36841)ù

    this is the frontend.min.js code part wich chrome says there’s an error

    (i’m not using vertical mode)

    this.settings.verticalMode && n.reverse();
    for (var r = 0; r <= 1; r++) {
    var o = n[r];
    if (o.classList.add(“ba-before-after-img”),
    o.classList.add(0 === r ? “ba-before-after-img-before” : “ba-before-after-img-after”),
    1 === r) {

    can you help me? thx

Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)
  • The topic ‘error in before after element’ is closed to new replies.