Commit 76e52af0 authored by ephoto_dam's avatar ephoto_dam

Minor fixes

parent 63ddb683
display:
version: 1.x
header: true
header: false
js:
js/ephoto_dam.js: {}
css:
......
......@@ -21,8 +21,9 @@
if(ratiop > ratiof) {
width = document.documentElement.clientWidth - 100;
height = Math.round(width * ratiof);
} else {
}
else {
height = document.documentElement.clientHeight - 100;
width = Math.round(height * (1 / ratiof));
};
......@@ -53,11 +54,11 @@
buffer.src = img.src;
},
};
$('img.ephoto-dam-zoom').on('click', function(event) {
$('.ephoto-dam-zoom').on('click', function(event) {
event.stopPropagation();
event.stopImmediatePropagation();
EphotoDam.zoomIn(this);
});
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment