From 481963320bb314cd5b3fd459abe93f448bd677e9 Mon Sep 17 00:00:00 2001 From: Thomas Lenz Date: Tue, 21 Oct 2014 12:05:31 +0200 Subject: solve SameOriginPolicy problem in JavaScript code for responsive design --- id/server/data/deploy/conf/moa-id/htmlTemplates/loginFormFull.html | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'id/server/data/deploy/conf/moa-id/htmlTemplates/loginFormFull.html') diff --git a/id/server/data/deploy/conf/moa-id/htmlTemplates/loginFormFull.html b/id/server/data/deploy/conf/moa-id/htmlTemplates/loginFormFull.html index ef070b8eb..7e2ddc491 100644 --- a/id/server/data/deploy/conf/moa-id/htmlTemplates/loginFormFull.html +++ b/id/server/data/deploy/conf/moa-id/htmlTemplates/loginFormFull.html @@ -720,7 +720,7 @@ } } function onChangeChecks() { - if (top.innerWidth < 650) { + if (self.innerWidth < 650) { document.getElementById("moaidform").setAttribute("target","_parent"); } else { document.getElementById("moaidform").removeAttribute("target"); -- cgit v1.2.3