Exclude Opera from toggle test, too (#863)
This commit is contained in:
parent
9f93c7b3b8
commit
5cfaef9ff9
1 changed files 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)
|
||||
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)" );
|
||||
|
|
Loading…
Reference in a new issue