diff options
| author | Kaalleen <36401965+kaalleen@users.noreply.github.com> | 2018-04-18 19:20:33 +0200 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2018-04-18 19:20:33 +0200 |
| commit | cb1b3756d8d029c7f92e1748e9eb42a78d89b5a2 (patch) | |
| tree | 790433948b24931e56cb1d525f5b04890341145d /print/resources | |
| parent | 32af3d4f89d7f3bcc26e231223ce64bcd7d22122 (diff) | |
Update inkstitch.js
fixed scrolling function event variable
Diffstat (limited to 'print/resources')
| -rw-r--r-- | print/resources/inkstitch.js | 2 |
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); |
