From cb36a2a3fb1319508382f6ce892891563b78fd94 Mon Sep 17 00:00:00 2001 From: Nikolay Kostyurin Date: Mon, 2 Dec 2024 01:23:15 +0200 Subject: [PATCH] fix: more testst --- index.html | 2 +- jquery.inputNumber.js | 62 ++++++----- jquery.mousewheel.js | 241 +++++++++++++++++++++++++++++++----------- test/test.js | 2 + 4 files changed, 219 insertions(+), 88 deletions(-) diff --git a/index.html b/index.html index eddb4a2..8772918 100644 --- a/index.html +++ b/index.html @@ -3,7 +3,7 @@ input number demo - + diff --git a/jquery.inputNumber.js b/jquery.inputNumber.js index cfbb5ea..e545df0 100644 --- a/jquery.inputNumber.js +++ b/jquery.inputNumber.js @@ -45,6 +45,8 @@ el: null, // input element $el: null, // input element $wrap: null, //div wrapper element + $up: null, + $down: null, options: null, defaults: { @@ -63,16 +65,18 @@ init: function() { var opts = this.options; + + this.$up = $('