use english spelling: replace costumStart with customStart.
parent
82bda0b0ab
commit
17e9cf71da
|
@ -1,6 +1,6 @@
|
|||
function costumStart()
|
||||
function customStart()
|
||||
{
|
||||
//define your javascript here
|
||||
//jquery is avaiable - except index.js
|
||||
//jquery is available - except index.js
|
||||
//you can load extra scripts with $.getScript http://api.jquery.com/jQuery.getScript/
|
||||
}
|
||||
|
|
|
@ -148,8 +148,8 @@
|
|||
return randomstring;
|
||||
}
|
||||
|
||||
//start the costum js
|
||||
if(typeof costumStart == "function") costumStart();
|
||||
// start the custom js
|
||||
if (typeof customStart == "function") customStart();
|
||||
</script>
|
||||
|
||||
</html>
|
||||
|
|
|
@ -414,8 +414,8 @@ var pad = {
|
|||
|
||||
$(document).ready(function()
|
||||
{
|
||||
//start the costum js
|
||||
if(typeof costumStart == "function") costumStart();
|
||||
// start the custom js
|
||||
if (typeof customStart == "function") customStart();
|
||||
getParams();
|
||||
handshake();
|
||||
});
|
||||
|
|
|
@ -65,8 +65,8 @@ var socket, token, padId, export_links;
|
|||
function init() {
|
||||
$(document).ready(function ()
|
||||
{
|
||||
//start the costum js
|
||||
if(typeof costumStart == "function") costumStart();
|
||||
// start the custom js
|
||||
if (typeof customStart == "function") customStart();
|
||||
|
||||
//get the padId out of the url
|
||||
var urlParts= document.location.pathname.split("/");
|
||||
|
|
Loading…
Reference in New Issue