Template:SUSTC-Shenzhen/themeJs

From 2014.igem.org

(Difference between revisions)
Line 57: Line 57:
         || location.hostname == this.hostname) {
         || location.hostname == this.hostname) {
-
         var target = $(this.hash.replace(".","\\.").replace(".","\2e");
+
         var target = $(this.hash.replace(".","\\.").replace(".","\2e"));
         target = target.length ? target : $('[name="' + this.hash.slice(1) +'"]');
         target = target.length ? target : $('[name="' + this.hash.slice(1) +'"]');
           if (target.length) {
           if (target.length) {

Revision as of 12:14, 8 October 2014