Merge pull request #62 from scottrabin/delegate-on

Changed .delegate to .on for future compatibility with jQuery
This commit is contained in:
Dave Gamache 2012-01-25 21:49:12 -08:00
commit d0903383d3

View File

@ -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');