Template:Team:HokkaidoU Japan/script
From 2011.igem.org
(Difference between revisions)
Line 51: | Line 51: | ||
var thumb = $(this).attr('src'); | var thumb = $(this).attr('src'); | ||
var reg = new RegExp('^(\/wiki\/images)\/thumb'); | var reg = new RegExp('^(\/wiki\/images)\/thumb'); | ||
+ | console.log(thumb); | ||
if(thumb.match(reg)){ | if(thumb.match(reg)){ | ||
var image = thumb.replace(reg, '$1'); | var image = thumb.replace(reg, '$1'); |
Revision as of 02:20, 6 October 2011