Difference between revisions of "Team:Brasil-USP/Templates/Cover"
Thmosqueiro (Talk | contribs) |
Thmosqueiro (Talk | contribs) |
||
Line 16: | Line 16: | ||
{ | { | ||
alert('oi'); | alert('oi'); | ||
− | if ( location.pathname.replace(/^\//,'') == this.pathname.replace(/^\//,'') ) | + | if ( location.pathname.replace(/^\//,'') == this.pathname.replace(/^\//,'') ) { |
− | + | if ( location.hostname == this.hostname ) ) { | |
− | if ( location.hostname == this.hostname ) ) | + | |
− | + | ||
alert('oi'); | alert('oi'); | ||
} | } |
Revision as of 01:21, 17 July 2015