From c37c3fa84ddca928c08b31815d6c2e22939e55b3 Mon Sep 17 00:00:00 2001 From: Joe Wreschnig Date: Thu, 22 May 2014 12:55:12 +0200 Subject: [PATCH] Protocol-relative URL breaks origin checks, use location.protocol. --- webcart1000.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/webcart1000.js b/webcart1000.js index 10b96da..101a9fd 100644 --- a/webcart1000.js +++ b/webcart1000.js @@ -10,7 +10,7 @@ (function () { "use strict"; - var ORIGIN = "//yukkurigames.com"; + var ORIGIN = location.protocol + "//yukkurigames.com"; var TARGET = ORIGIN + "/webcart1000/o_o.html"; var wc1kFrame; var wc1kWindow; -- 2.30.2