Compare commits

...

2 Commits

Author SHA1 Message Date
2c98c17fe2 feat(popup): Removes src images when closed 2019-07-22 14:30:41 +02:00
e9cdb87590 feat(popup): Adds cursor pointer to images 2019-07-22 14:27:49 +02:00
2 changed files with 8 additions and 0 deletions

View File

@ -207,4 +207,8 @@ ul:not(.navbar-nav) li {
.modal-lg {
max-width: 90%;
}
[data-popup] {
cursor: pointer;
}

View File

@ -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');