diff options
author | Thomas Lenz <tlenz@iaik.tugraz.at> | 2014-10-21 12:05:31 +0200 |
---|---|---|
committer | Thomas Lenz <tlenz@iaik.tugraz.at> | 2014-10-21 12:05:31 +0200 |
commit | 481963320bb314cd5b3fd459abe93f448bd677e9 (patch) | |
tree | 2ca61923500aa0e164fe5a7e015ba4368e4877dd /id/server/data | |
parent | 1fb0a5ae9853d69153ee3b93a85d9085eb411f57 (diff) | |
download | moa-id-spss-481963320bb314cd5b3fd459abe93f448bd677e9.tar.gz moa-id-spss-481963320bb314cd5b3fd459abe93f448bd677e9.tar.bz2 moa-id-spss-481963320bb314cd5b3fd459abe93f448bd677e9.zip |
solve SameOriginPolicy problem in JavaScript code for responsive design
Diffstat (limited to 'id/server/data')
-rw-r--r-- | id/server/data/deploy/conf/moa-id/htmlTemplates/loginFormFull.html | 2 |
1 files changed, 1 insertions, 1 deletions
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"); |