Skip to content
Permalink
Browse files

Followup on #10791: "[class~=foo]" is better. Closes gh-858.

  • Loading branch information
gibson042 authored and dmethvin committed Jul 11, 2012
1 parent db4d122 commit 60e249437c3324b82124da70941a3b88cfc48a3d
Showing with 2 additions and 2 deletions.
  1. +2 −2 test/unit/event.js
@@ -1287,10 +1287,10 @@ test("Delegated events in SVG (#10791)", function() {
.on( "click", "#svg-by-id", function() {
ok( true, "delegated id selector" );
})
.on( "click", "[class='svg-by-class']", function() {
.on( "click", "[class~='svg-by-class']", function() {
ok( true, "delegated class selector" );
})
.find( "#svg-by-id, [class='svg-by-class']" )
.find( "#svg-by-id, [class~='svg-by-class']" )
.trigger( "click" )
.end()
.off( "click" );

0 comments on commit 60e2494

Please sign in to comment.
You can’t perform that action at this time.