Line 101: | Line 101: | ||
$("#searchInput").val("SUSTech "+$("#searchInput").val()); | $("#searchInput").val("SUSTech "+$("#searchInput").val()); | ||
}); | }); | ||
− | $('.reference>a').click(function() { | + | $('.reference>a, span.mw-cite-backlink > a').click(function() { |
console.log(this.hash); | console.log(this.hash); | ||
if (location.pathname.replace(/^\//,'') == this.pathname.replace(/^\//,'') | if (location.pathname.replace(/^\//,'') == this.pathname.replace(/^\//,'') |
Revision as of 09:10, 11 October 2016