Created
May 28, 2017 17:48
-
-
Save vitqst/89eb39c1f4c301199382820326c1aad3 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
$(document).ready(function(){ | |
$('#allsizes-photo').children('div').remove(); | |
$('#allsizes-photo').children('img').each(function(){ | |
var $this = $(this); | |
$this.wrap('<a href="' + $this.attr('src') + '" download />') | |
}); | |
}); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment