summaryrefslogtreecommitdiffstats
path: root/src/jquery-ui-timepicker-addon.js
diff options
context:
space:
mode:
authorTrent <trentdrichardson@gmail.com>2016-01-19 08:37:32 -0500
committerTrent <trentdrichardson@gmail.com>2016-01-19 08:37:32 -0500
commit8fe6ab220453fcb9f1f44d6753257336bf7c8015 (patch)
tree17ed122bbd8f97f1e9648d5dcafc11d12ff1f66b /src/jquery-ui-timepicker-addon.js
parentdb9e0cd3c691552808f7309641f3e4e83e531289 (diff)
downloadjQuery-Timepicker-Addon-8fe6ab220453fcb9f1f44d6753257336bf7c8015.zip
jQuery-Timepicker-Addon-8fe6ab220453fcb9f1f44d6753257336bf7c8015.tar.gz
jQuery-Timepicker-Addon-8fe6ab220453fcb9f1f44d6753257336bf7c8015.tar.bz2
Fix jshint warning about comparison operator #859
Diffstat (limited to 'src/jquery-ui-timepicker-addon.js')
-rw-r--r--src/jquery-ui-timepicker-addon.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/jquery-ui-timepicker-addon.js b/src/jquery-ui-timepicker-addon.js
index 7a5c14c..7c1e65f 100644
--- a/src/jquery-ui-timepicker-addon.js
+++ b/src/jquery-ui-timepicker-addon.js
@@ -1741,7 +1741,7 @@
if (tp_inst.$altInput && tp_inst._defaults.altFieldTimeOnly) {
currDT = tp_inst.$input.val() + ' ' + tp_inst.$altInput.val();
}
- else if (tp_inst.$input.get(0).tagName != 'INPUT' && tp_inst.$altInput) {
+ else if (tp_inst.$input.get(0).tagName !== 'INPUT' && tp_inst.$altInput) {
/**
* in case the datetimepicker has been applied to a non-input tag for inline UI,
* and the user has not configured the plugin to display only time in altInput,