From 83243af22dd56c2a58e72b8cfb48148d94e4c55d Mon Sep 17 00:00:00 2001 From: Angus McLeod Date: Tue, 14 Apr 2020 23:16:45 +1000 Subject: [PATCH] Minor bugfix --- assets/javascripts/wizard/initializers/custom.js.es6 | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/assets/javascripts/wizard/initializers/custom.js.es6 b/assets/javascripts/wizard/initializers/custom.js.es6 index 790b570e..fbdac38f 100644 --- a/assets/javascripts/wizard/initializers/custom.js.es6 +++ b/assets/javascripts/wizard/initializers/custom.js.es6 @@ -93,9 +93,9 @@ export default { if ($element.length) { $([document.documentElement, document.body]).animate({ - scrollTop: $(query).offset().top - 200 + scrollTop: $element.offset().top - 200 }, 400, function() { - $(query).wiggle(2, 100); + $element.wiggle(2, 100); }); } });