Skip to content

Commit

Permalink
Merge pull request dhg#62 from scottrabin/delegate-on
Browse files Browse the repository at this point in the history
Changed .delegate to .on for future compatibility with jQuery
  • Loading branch information
dhg committed Jan 26, 2012
2 parents d6835b9 + aeaf1b4 commit d090338
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion javascripts/tabs.js
Expand Up @@ -8,7 +8,7 @@
*/


$('body').delegate('ul.tabs > li > a', 'click', function(e) {
$('body').on('click', 'ul.tabs > li > a', function(e) {

//Get Location of tab's content
var contentLocation = $(this).attr('href');
Expand Down

0 comments on commit d090338

Please sign in to comment.