Skip to content

Commit 3cc12c6

Browse files
committed
Deactivate modal close
1 parent 38098a9 commit 3cc12c6

File tree

4 files changed

+3
-6
lines changed

4 files changed

+3
-6
lines changed

_resources/scripts/gallery.js

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -72,9 +72,6 @@
7272
self.$modal.modal('hide');
7373
}
7474
});
75-
this.$modal.off('click').on('click', function() {
76-
self.$modal.modal('hide');
77-
});
7875
};
7976

8077
Gallery.prototype.registerResize = function () {

_resources/styles/gallery.less

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,7 @@
4545

4646
.img-prev, .img-next {
4747
height: 100%;
48-
width: 25%;
48+
width: 40%;
4949
position: absolute;
5050
top: 0;
5151
background: none;

res/minddust.min.css

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

res/minddust.min.js

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)