diff --git a/src/support.js b/src/support.js index e483ce09d..b407b32c1 100644 --- a/src/support.js +++ b/src/support.js @@ -64,7 +64,7 @@ jQuery.support = (function() { // Make sure that element opacity exists // (IE uses filter instead) // Use a regex to work around a WebKit issue. See #5145 - opacity: /^0.55$/.test( a.style.opacity ), + opacity: /^0.55/.test( a.style.opacity ), // Verify style float existence // (IE uses styleFloat instead of cssFloat) diff --git a/test/unit/queue.js b/test/unit/queue.js index 95bbfc97e..6679bc6c2 100644 --- a/test/unit/queue.js +++ b/test/unit/queue.js @@ -149,8 +149,8 @@ test("delay() can be stopped", function() { }) .dequeue( "alternate" ) - // stop( false ) will NOT clear the queue, so it should automatically dequeue the next - .stop( false, false, "alternate" ) + // stop( "alternate", false ) will NOT clear the queue, so it should automatically dequeue the next + .stop( "alternate", false, false ) // this test .delay( 100 )