From cb1b3756d8d029c7f92e1748e9eb42a78d89b5a2 Mon Sep 17 00:00:00 2001 From: Kaalleen <36401965+kaalleen@users.noreply.github.com> Date: Wed, 18 Apr 2018 19:20:33 +0200 Subject: [PATCH] Update inkstitch.js fixed scrolling function event variable --- print/resources/inkstitch.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/print/resources/inkstitch.js b/print/resources/inkstitch.js index 497b87d49..0571f432f 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);