mirror of
https://github.com/pretix/pretix.git
synced 2026-08-10 10:47:00 +00:00
add comment why onblur is needed
This commit is contained in:
@@ -111,7 +111,7 @@ var form_handlers = function (el) {
|
||||
}).on('dp.change', function (e) {
|
||||
container.removeClass("has-error");
|
||||
alert.text("");
|
||||
}).on('blur', function (e) {
|
||||
}).on('blur', function (e) {// dp.change does not trigger when changed to empty string - although documentation notes otherwise
|
||||
if (!this.value) {
|
||||
container.removeClass("has-error");
|
||||
alert.text("");
|
||||
|
||||
Reference in New Issue
Block a user