--- a/tests/framework/wheel/NIST_click_001.html Sat Sep 20 14:18:18 2008 +0900
+++ b/tests/framework/wheel/NIST_click_001.html Thu Sep 25 23:38:42 2008 +0900
@@ -65,10 +65,7 @@
var e1 = document.getElementById("tb1");
if (document.addEventListener) {
e1.addEventListener("click", w3c_reactToClick(), false);
- }
- else {
- e1.attachEvent("on"+"mouseover", w3c_reactToMouseover());
- }
+ }
}
// Function to remove a listener from the element.
@@ -76,9 +73,6 @@
var e1 = document.getElementById("tb1");
if (document.removeEventListener) {
e1.removeEventListener("click", w3c_reactToClickRemoval(), false);
- } else {
- e1.detachEvent("on"+"click", w3c_reactToClickRemoval(),false);
- }
}
</script>
<script type="text/javascript" src="NIST_functions.js"></script>