From 25724cad242245a7979b4b3e71b75a3e04c7c2d1 Mon Sep 17 00:00:00 2001 From: Felix Niklas Date: Wed, 30 Sep 2015 14:22:01 +0200 Subject: [PATCH] timepicker: disable mousewheel by default --- .../javascripts/app/lib/bootstrap/bootstrap-timepicker.js | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/app/assets/javascripts/app/lib/bootstrap/bootstrap-timepicker.js b/app/assets/javascripts/app/lib/bootstrap/bootstrap-timepicker.js index 48fb283ea..e542cb214 100644 --- a/app/assets/javascripts/app/lib/bootstrap/bootstrap-timepicker.js +++ b/app/assets/javascripts/app/lib/bootstrap/bootstrap-timepicker.js @@ -14,6 +14,7 @@ * - activate meridian on class 'time--12' * - normalize output to 24-hour clock * - add hoursAndMinutes + * - disableMousewheel by default * * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. @@ -1131,7 +1132,7 @@ $.fn.timepicker.defaults = { defaultTime: false, disableFocus: false, - disableMousewheel: false, + disableMousewheel: true, isOpen: false, minuteStep: 15, modalBackdrop: false,