summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKaalleen <36401965+kaalleen@users.noreply.github.com>2018-04-18 19:20:33 +0200
committerGitHub <noreply@github.com>2018-04-18 19:20:33 +0200
commitcb1b3756d8d029c7f92e1748e9eb42a78d89b5a2 (patch)
tree790433948b24931e56cb1d525f5b04890341145d
parent32af3d4f89d7f3bcc26e231223ce64bcd7d22122 (diff)
Update inkstitch.js
fixed scrolling function event variable
-rw-r--r--print/resources/inkstitch.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/print/resources/inkstitch.js b/print/resources/inkstitch.js
index 497b87d4..0571f432 100644
--- a/print/resources/inkstitch.js
+++ b/print/resources/inkstitch.js
@@ -72,7 +72,7 @@ $(function() {
/* Mousewheel scaling */
$('figure.inksimulation').on( 'DOMMouseScroll mousewheel', function (e) {
- if(event.ctrlKey == true) {
+ if(e.ctrlKey == true) {
var svg = $(this).find('svg');
var transform = svg.css('transform').match(/-?[\d\.]+/g);