Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- jQuery( document ).ready(function( $ ) {
- $('.image-container').each(function() {
- $imageWidth = $(this).find('img').width();
- $(this).width($imageWidth);
- });
- });
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement