Permalink
Browse files

Merge pull request #62 from scottrabin/delegate-on

Changed .delegate to .on for future compatibility with jQuery
  • Loading branch information...
2 parents d6835b9 + aeaf1b4 commit d0903383d3f3b5f17644c126c8133691e595ccf2 @dhg dhg committed Jan 26, 2012
Showing with 1 addition and 1 deletion.
  1. +1 −1 javascripts/tabs.js
View
2 javascripts/tabs.js
@@ -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');

0 comments on commit d090338

Please sign in to comment.