From 12fb53dd0a6ea5581ba1f16ffab5c3e05a4a002d Mon Sep 17 00:00:00 2001 From: ccd0 Date: Thu, 12 Mar 2015 01:09:12 -0700 Subject: [PATCH] Build web page. --- index.html | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/index.html b/index.html index a9bc9f4ea..d55c87cab 100644 --- a/index.html +++ b/index.html @@ -63,7 +63,7 @@ function imagePreview() { var span = document.createElement('span'); span.className = 'hover'; span.appendChild(img); - this.appendChild(span); + this.parentNode.insertBefore(span, this.nextSibling); } function storeInstall(e) { if (!e.shiftKey && !e.altKey && !e.ctrlKey && !e.metaKey && e.button === 0) {