Initialize 'cancelable' to false in Event::new_inherited. Fixes #3855.

This commit is contained in:
Mitchell Van Der Hoeff 2014-11-02 11:36:11 -05:00
parent 035ff19e4a
commit 536201e2b5

View file

@ -77,7 +77,7 @@ impl Event {
phase: Cell::new(PhaseNone),
type_: DOMRefCell::new("".to_string()),
canceled: Cell::new(false),
cancelable: Cell::new(true),
cancelable: Cell::new(false),
bubbles: Cell::new(false),
trusted: Cell::new(false),
dispatching: Cell::new(false),