diff options
Diffstat (limited to 'components/script/dom/htmlbodyelement.rs')
-rw-r--r-- | components/script/dom/htmlbodyelement.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/components/script/dom/htmlbodyelement.rs b/components/script/dom/htmlbodyelement.rs index 4ade3caf3ed..5e266646a1c 100644 --- a/components/script/dom/htmlbodyelement.rs +++ b/components/script/dom/htmlbodyelement.rs @@ -181,7 +181,7 @@ impl VirtualMethods for HTMLBodyElement { }; evtarget.set_event_handler_uncompiled(cx, url, reflector, &name[2..], - (**attr.value()).to_owned()); + DOMString((**attr.value()).to_owned())); }, _ => {} } |