Advertisement
Zoker

Untitled

Dec 2nd, 2021
865
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. jQuery( document ).ready(function( $ ) {
  2.    $('.image-container').each(function() {
  3.       $imageWidth = $(this).find('img').width();
  4.       $(this).width($imageWidth);
  5.    });
  6. });
  7.  
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement