Mercurial > hgrepos > hgweb.cgi > skipweb
changeset 2389:1b598729bd4e
redirect.html url check changed
author | FUJIKAWA Kosuke <c111126@g.koeki-u.ac.jp> |
---|---|
date | Wed, 12 Nov 2014 20:09:38 +0900 |
parents | d642dd51dda5 |
children | 81f2d192daf6 |
files | fujix/redirect.html |
diffstat | 1 files changed, 6 insertions(+), 7 deletions(-) [+] |
line wrap: on
line diff
--- a/fujix/redirect.html Wed Nov 12 19:38:20 2014 +0900 +++ b/fujix/redirect.html Wed Nov 12 20:09:38 2014 +0900 @@ -7,9 +7,9 @@ time = 1; -url = "http://skip.koeki-prj.org/fujix/leaf.rb" -curl = "http://skip.koeki-prj.org/fujix/leaf.rb" - +url = "http://roy.e.koeki-u.ac.jp/~c111126/mycgi/sotsu/leaf.rb"; +curl = "http://roy.e.koeki-u.ac.jp/~c111126/mycgi/sotsu/leaf.rb"; + if (navigator.geolocation) { navigator.geolocation.getCurrentPosition( @@ -44,11 +44,10 @@ ); } -if (url == curl){ - url += "?error"; -} - function jumpPage() { + if (url == curl){ + url += "?error"; + } location.href = url; }