Secure the call of the costumStart function
Author: Peter 'Pita' Martischka <petermartischka@googlemail.com>
This commit is contained in:
parent
38fd56a877
commit
053e48c3f4
|
@ -125,6 +125,6 @@
|
||||||
}
|
}
|
||||||
|
|
||||||
//start the costum js
|
//start the costum js
|
||||||
if(costumStart) costumStart();
|
if(typeof costumStart == "function") costumStart();
|
||||||
</script>
|
</script>
|
||||||
</html>
|
</html>
|
||||||
|
|
|
@ -30,7 +30,7 @@ $(document).ready(function()
|
||||||
}
|
}
|
||||||
|
|
||||||
//start the costum js
|
//start the costum js
|
||||||
if(costumStart) costumStart();
|
if(typeof costumStart == "function") costumStart();
|
||||||
|
|
||||||
handshake();
|
handshake();
|
||||||
});
|
});
|
||||||
|
|
|
@ -58,7 +58,7 @@
|
||||||
$(document).ready(function ()
|
$(document).ready(function ()
|
||||||
{
|
{
|
||||||
//start the costum js
|
//start the costum js
|
||||||
if(costumStart) costumStart();
|
if(typeof costumStart == "function") costumStart();
|
||||||
|
|
||||||
//get the padId out of the url
|
//get the padId out of the url
|
||||||
var urlParts= document.location.pathname.split("/");
|
var urlParts= document.location.pathname.split("/");
|
||||||
|
|
Loading…
Reference in New Issue