From e7e4e4af44ebd1fd2461d36b61d7f454b540f02d Mon Sep 17 00:00:00 2001 From: Alexander Ebert Date: Thu, 14 Jul 2016 15:23:40 +0200 Subject: [PATCH] Fixed variable reference --- wcfsetup/install/files/js/WoltLab/WCF/Date/Picker.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/wcfsetup/install/files/js/WoltLab/WCF/Date/Picker.js b/wcfsetup/install/files/js/WoltLab/WCF/Date/Picker.js index 00804f2b85..928f4b118a 100644 --- a/wcfsetup/install/files/js/WoltLab/WCF/Date/Picker.js +++ b/wcfsetup/install/files/js/WoltLab/WCF/Date/Picker.js @@ -56,7 +56,7 @@ define(['DateUtil', 'Language', 'ObjectMap', 'Dom/ChangeListener', 'Ui/Alignment // convert value var date = null, value = elAttr(element, 'value'); if (elAttr(element, 'value')) { - if (isDateTime) { + if (isTimeOnly) { date = new Date(); var tmp = value.split(':'); date.setHours(tmp[0], tmp[1]); -- 2.20.1