Replace usage of getPreventDefault with defaultPrevented.

The former is now deprecated #726933.
This commit is contained in:
Doug Kearns committed 2013-10-30 23:12:02 +11:00
1 parent cf93578a84
commit ef30e3cc47
4 files changed
+5 -5

No files matched your search

+1 -1
View File
@@ -1367,7 +1367,7 @@ var DOM = Class("DOM", {
.dispatchDOMEventViaPresShell(target, event, true);
else {
target.dispatchEvent(event);
return !event.getPreventDefault();
return !event.defaultPrevented;
}
}
catch (e) {