mirror of
https://github.com/servo/servo.git
synced 2025-08-06 06:00:15 +01:00
Fix some warnings in script.
This commit is contained in:
parent
fab8092581
commit
e921ce859e
12 changed files with 29 additions and 18 deletions
|
@ -200,7 +200,7 @@ impl<'a> VirtualMethods for JSRef<'a, HTMLElement> {
|
|||
window.r().reflector().get_jsobject());
|
||||
let evtarget: JSRef<EventTarget> = EventTargetCast::from_ref(*self);
|
||||
evtarget.set_event_handler_uncompiled(cx, url, reflector,
|
||||
name.slice_from(2),
|
||||
&name[2..],
|
||||
attr.value().as_slice().to_owned());
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue