Skip to content
This repository has been archived by the owner on Aug 24, 2023. It is now read-only.

Commit

Permalink
IE9 doesn't need these bits
Browse files Browse the repository at this point in the history
  • Loading branch information
thomcowell committed Jan 4, 2012
1 parent defa871 commit aa70e1a
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion test/css.js
Expand Up @@ -113,7 +113,7 @@ test("css(String, Object)", function() {
equals( Simples("#t2037 .hidden").css("display"), "none", "Make sure browser thinks it is hidden" );
});

if(Simples.browser.msie) {
if( Simples.browser.msie && (Simples.browser.version * 1) < 9 ) {
test("css(String, Object) for MSIE", 7, function() {
// for #1438, IE throws JS error when filter exists but doesn't have opacity in it
Simples('#foo').css("filter", "progid:DXImageTransform.Microsoft.Chroma(color='red');");
Expand Down
2 changes: 1 addition & 1 deletion test/events.js
Expand Up @@ -280,7 +280,7 @@ test("trigger() bubbling", 14, function() {
});

test("trigger(type, [data])", function() {
expect(/msie/i.test(navigator.userAgent) ? 7 : 9);
expect( Simples.browser.msie && (Simples.browser.version * 1) < 9 ? 7 : 9 );
var handler = function(event) {
equals( event.type, "click", "check passed data" );
same( event.data, [ 1, "2", "abc"], "check passed data" );
Expand Down

0 comments on commit aa70e1a

Please sign in to comment.