Difference between revisions of "Team:Brasil-USP/Templates/Cover"
Thmosqueiro (Talk | contribs) |
Thmosqueiro (Talk | contribs) |
||
Line 15: | Line 15: | ||
$('a[href*=#]').each(function() | $('a[href*=#]').each(function() | ||
{ | { | ||
+ | alert('oi'); | ||
if ( location.pathname.replace(/^\//,'') == this.pathname.replace(/^\//,'') && location.hostname == this.hostname && this.hash.replace(/#/,'') ) | if ( location.pathname.replace(/^\//,'') == this.pathname.replace(/^\//,'') && location.hostname == this.hostname && this.hash.replace(/#/,'') ) | ||
{ | { |
Revision as of 01:12, 17 July 2015