From 98c2bd638e0257d27d224b87dc77140098f235df Mon Sep 17 00:00:00 2001 From: Guido Tapia Date: Wed, 7 Dec 2011 10:48:06 +1100 Subject: [PATCH] Update screenshots.html --- screenshots.html | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/screenshots.html b/screenshots.html index 04a8a52..53a265d 100644 --- a/screenshots.html +++ b/screenshots.html @@ -252,7 +252,10 @@ }); $('base').attr('href',urlParts.protocol+"//"+urlParts.hostname+"/"); - html = html.replace("",""); + var base = ""; + var headIdx = html.indexOf('', headIdx); + html = html.substring(0, endHeadIdx + 1) + base + html.substring(endHeadIdx + 1); if ($("#disablejs").prop('checked')){ html = html.replace(/\