Skip to content

Commit

Permalink
Merge pull request #1 from yoda-jm/master
Browse files Browse the repository at this point in the history
This fix my use case (applying multiple times on the same element with updated comment) but broke multiple events in the same page.
  • Loading branch information
andrefigueira committed May 9, 2013
2 parents 007565d + 0f1611d commit c8d44ef
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/jaysun.1.0.js
Original file line number Diff line number Diff line change
Expand Up @@ -229,6 +229,7 @@

}

$('.toggle').die('click');
$('.toggle').live('click', function() {

if($(this).next().next().is(':visible'))
Expand Down Expand Up @@ -259,4 +260,4 @@

}

}
}

0 comments on commit c8d44ef

Please sign in to comment.