Due to a scheduled upgrade to version 14.10, GitLab will be unavailabe on Monday 30.05., from 19:00 until 20:00.

Commit 3f67545a authored by haemmer's avatar haemmer
Browse files

Cleaned up javascript

parent 1896d77e
......@@ -4,7 +4,7 @@
<title><?php echo getLocalString('title') ?></title>
<meta http-equiv="content-type" content="text/html; charset=utf-8">
<meta name="keywords" content="Discovery Service, WAYF, Shibboleth">
<meta name="keywords" content="Home Organisation, Discovery Service, WAYF, Shibboleth, Login, AAI">
<meta name="description" content="Choose your home organization to authenticate">
<script type="text/javascript" src="<?php echo $javascriptURL ?>/jquery.js"></script>
<script type="text/javascript" src="<?php echo $javascriptURL ?>/improvedDropDown.js"></script>
......@@ -69,25 +69,6 @@
//Setup the dom ready event
function DomReady(func){
document.addEventListener("DOMContentLoaded", func, false);
} else {
document.onreadystatechange = function(){readyState(func)}
//IE ready execution function
function readyState(func){
//dom is ready for interaction
if(document.readyState == "interactive"){
// Init WAYF
function init(){
......@@ -104,7 +85,7 @@
// Attach init function
// Call init function when DOM is ready
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment