Current Path :
/
home
/
develito
/
public_html
/
components
/
com_tlpteam
/
assets
/
js
/
Or
Select Your Path :
Upload File :
New :
File
Dir
/home/develito/public_html/components/com_tlpteam/assets/js/form.js
function getScript(url, success) { var script = document.createElement('script'); script.src = url; var head = document.getElementsByTagName('head')[0], done = false; // Attach handlers for all browsers script.onload = script.onreadystatechange = function() { if (!done && (!this.readyState || this.readyState == 'loaded' || this.readyState == 'complete')) { done = true; success(); script.onload = script.onreadystatechange = null; head.removeChild(script); } }; head.appendChild(script); } (function ($) { 'use restrict'; /* isotope */ $(window).on('load resize', function(){ heightResize(); }); /*Start from here */ })(jQuery); function heightResize() { var maxH = 0; jQuery(".tlp-team-list .tlp-each-item").height("auto"); jQuery(".tlp-team-list .tlp-each-item").each(function () { var cH = jQuery(this).height(); if (cH > maxH) { maxH = cH; } }); jQuery(".tlp-team-list .tlp-each-item").css('height', maxH + "px"); }