mirror of
https://github.com/mozilla/gecko-dev.git
synced 2025-01-28 00:07:28 +00:00
Bug 185790 Impossible to remove JavaScript Events in Composer r=brade sr=sfraser a=asa
This commit is contained in:
parent
57144ccd3a
commit
fb9e022960
@ -173,9 +173,10 @@ function UpdateJSEAttributes()
|
||||
// remove removed attributes
|
||||
for (i = 0; i < JSERAttrs.length; i++)
|
||||
{
|
||||
name = JSERAttrs[i];
|
||||
if (gElement.getAttribute(name))
|
||||
doRemoveAttribute(gElement, name);
|
||||
var name = JSERAttrs[i];
|
||||
|
||||
if (gElement.hasAttribute(name))
|
||||
doRemoveAttribute(name);
|
||||
}
|
||||
|
||||
// Add events
|
||||
|
Loading…
x
Reference in New Issue
Block a user