update
This commit is contained in:
parent
56a06c3f83
commit
f63896c894
|
|
@ -15,4 +15,18 @@
|
|||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<script>
|
||||
setTimeout(function() {
|
||||
var albumTitle = $('.show-title span').text().trim();
|
||||
|
||||
$('.show-content').each(function(index) {
|
||||
var $img = $(this).find('img');
|
||||
if ($img.attr('alt') === 'gallery image') {
|
||||
$img.attr('alt', albumTitle + (index + 1));
|
||||
}
|
||||
});
|
||||
}, 500);
|
||||
|
||||
|
||||
</script>
|
||||
Loading…
Reference in New Issue