aboutsummaryrefslogtreecommitdiffstats
path: root/src/event
diff options
context:
space:
mode:
authorJörn Zaefferer <joern.zaefferer@gmail.com>2007-01-23 16:57:34 +0000
committerJörn Zaefferer <joern.zaefferer@gmail.com>2007-01-23 16:57:34 +0000
commit5cfaef9ff9b121850f1e27afae6819023acadbf7 (patch)
treed4aa302d48e93abfc1977a56b9d40af911da590a /src/event
parent9f93c7b3b858c4491e1d2aa7a680b9b1dd29b17c (diff)
downloadjquery-5cfaef9ff9b121850f1e27afae6819023acadbf7.tar.gz
jquery-5cfaef9ff9b121850f1e27afae6819023acadbf7.zip
Exclude Opera from toggle test, too (#863)
Diffstat (limited to 'src/event')
-rw-r--r--src/event/eventTest.js4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/event/eventTest.js b/src/event/eventTest.js
index 01b97c1d7..595ea02e8 100644
--- a/src/event/eventTest.js
+++ b/src/event/eventTest.js
@@ -7,8 +7,8 @@ test("toggle(Function, Function) - add toggle event and fake a few clicks", func
fn2 = function(e) { count--; },
preventDefault = function(e) { e.preventDefault() },
link = $('#mark');
- if($.browser.msie)
- ok( false, "click() on link gets executed in IE, not intended behaviour!" );
+ if($.browser.msie || $.browser.opera)
+ ok( false, "click() on link gets executed in IE/Opera, not intended behaviour!" );
else
link.click(preventDefault).click().toggle(fn1, fn2).click().click().click().click().click();
ok( count == 1, "Check for toggle(fn, fn)" );