Add FIXME to the new comment asking wether code below it is right

This commit is contained in:
Simon Sapin 2019-12-11 08:59:05 +01:00 committed by GitHub
parent f35a870f55
commit e501eaaa5b
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -231,7 +231,7 @@ impl CompiledEventListener {
let should_cancel = value.is_boolean() && value.to_boolean() == false;
if should_cancel {
// spec says to set the cancelled flag directly
// FIXME: spec says to set the cancelled flag directly
// here, not just to prevent default;
// can that ever make a difference?
event.PreventDefault();