Okay
  Public Ticket #645010
JS change with 7.0.1
Closed

Comments

  • Spencer started the conversation

    Tahir,

    Did you change any JS from the previous version to the latest version dealing with content width? I use the plugin Justified Image Grid which worked great before the update to 7.0.1. I'm wondering if Salient does something with the content width with JS after the page has loaded.

    The Justified Image Grid plugin is supposed to respond to the width of the page so everything is flush. But something changed recently with Salient. It sometimes corrects itself after a few seconds. But on iPhones and in Safari it doesn't work half the time.

    Support for Justified Image Grid told me to put the following into the custom plugin javascript field:



    jQuery(document).ready(function(){

    var jigs = jQuery('.justified-image-grid');

    if(jigs.length !== 0){

    jigs.data('justifiedImageGrid').createGallery('resize');

    }

    });




  •  8,992
    Tahir replied

    Hey ,


    We just released Salient 7.0.5 which has the VC 4.9.2 update as well which would fix all pending VC issues, See changelog : http://themenectar.com/changelogs/salient.html .

    Update the theme by following this guide: https://themenectar.ticksy.com/article/3218/ . Also see Visual Composer update instructions in here: https://themenectar.ticksy.com/article/5182/
    Best.


    ThemeNectar Support Team