From e9b351e634b71f9d957857844c0524afa4fca530 Mon Sep 17 00:00:00 2001 From: pstephane Date: Wed, 29 Mar 2017 15:45:02 +0200 Subject: [PATCH] Update jquery.timepicker.js --- jquery.timepicker.js | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/jquery.timepicker.js b/jquery.timepicker.js index 626a86e8..75a6e714 100644 --- a/jquery.timepicker.js +++ b/jquery.timepicker.js @@ -891,6 +891,10 @@ var self = $(this); var list = self.data('timepicker-list'); + if (self.prop('readonly')) { + return true; + } + if (!list || !_isVisible(list)) { if (e.keyCode == 40) { // show the list!