Skip to content
Permalink
Browse files
Fixed toggle() test to exclude konquerer
  • Loading branch information
jzaefferer committed Feb 5, 2007
1 parent 02ffee4 commit 2c99c18652b9a098252d5443506c03fd45b2e2dc
Showing 1 changed file with 2 additions and 2 deletions.
@@ -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 || $.browser.opera)
ok( false, "click() on link gets executed in IE/Opera, not intended behaviour!" );
if ( $.browser.msie || $.browser.opera || /konquerer/i.test(navigator.userAgent) )
ok( false, "click() on link gets executed in IE/Opera/Konquerer, not intended behaviour!" );
else
link.click(preventDefault).click().toggle(fn1, fn2).click().click().click().click().click();
ok( count == 1, "Check for toggle(fn, fn)" );

0 comments on commit 2c99c18

Please sign in to comment.