(Created page with "console.log('test me');") |
|||
(2 intermediate revisions by the same user not shown) | |||
Line 1: | Line 1: | ||
− | + | jQuery(document).ready(function($) { | |
+ | $(window).load(function() { | ||
+ | $('.image-caption-box').each(function() { | ||
+ | $(this).find('small').width($(this).find('img').width()); | ||
+ | }); | ||
+ | }); | ||
+ | }); |
Latest revision as of 18:47, 31 October 2017
jQuery(document).ready(function($) { $(window).load(function() { $('.image-caption-box').each(function() { $(this).find('small').width($(this).find('img').width()); }); }); });