Merge pull request #62 from scottrabin/delegate-on
Changed .delegate to .on for future compatibility with jQuery
This commit is contained in:
commit
d0903383d3
@ -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
|
//Get Location of tab's content
|
||||||
var contentLocation = $(this).attr('href');
|
var contentLocation = $(this).attr('href');
|
||||||
|
Loading…
Reference in New Issue
Block a user