1 function Sys$UI$DomEvent$preventDefault() {
3 if (arguments.length !== 0) throw Error.parameterCount();
4 if (this.rawEvent.preventDefault) {
5 this.rawEvent.preventDefault();
6 }
7 else if (window.event) {
8 this.rawEvent.returnValue = false;
9 }
10 }