mirror of
https://github.com/prymitive/karma
synced 2026-05-07 03:26:52 +00:00
Prevent a chain of click events
Click events in some weird cases cause this function to be called twice, ensure that we stop processing this event after first pass
This commit is contained in:
@@ -205,6 +205,9 @@ var UI = (function(params) {
|
||||
}
|
||||
$("#endsAt").data('DateTimePicker').date(endsAt);
|
||||
silenceFormCalculateDuration();
|
||||
|
||||
// prevent recursive events
|
||||
event.stopPropagation();
|
||||
};
|
||||
|
||||
|
||||
|
||||
File diff suppressed because one or more lines are too long
Reference in New Issue
Block a user