forked from M-Labs/web2019
feat(popup): Removes src images when closed
This commit is contained in:
parent
e9cdb87590
commit
2c98c17fe2
|
@ -169,6 +169,10 @@
|
|||
|
||||
<script>
|
||||
$(function () {
|
||||
$('#modalEnlarged').on('hidden.bs.modal', function (e) {
|
||||
$('#enlarged').attr('src', '');
|
||||
});
|
||||
|
||||
$('[data-popup]').click(function (evt) {
|
||||
var _self = $(this);
|
||||
var _img_enlarged = _self.data('nsrc');
|
||||
|
|
Loading…
Reference in New Issue