mirror of
https://github.com/ether/etherpad-lite.git
synced 2025-01-31 19:02:59 +01:00
Secure the call of the costumStart function
Author: Peter 'Pita' Martischka <petermartischka@googlemail.com>
This commit is contained in:
parent
38fd56a877
commit
053e48c3f4
3 changed files with 3 additions and 3 deletions
|
@ -125,6 +125,6 @@
|
|||
}
|
||||
|
||||
//start the costum js
|
||||
if(costumStart) costumStart();
|
||||
if(typeof costumStart == "function") costumStart();
|
||||
</script>
|
||||
</html>
|
||||
|
|
|
@ -30,7 +30,7 @@ $(document).ready(function()
|
|||
}
|
||||
|
||||
//start the costum js
|
||||
if(costumStart) costumStart();
|
||||
if(typeof costumStart == "function") costumStart();
|
||||
|
||||
handshake();
|
||||
});
|
||||
|
|
|
@ -58,7 +58,7 @@
|
|||
$(document).ready(function ()
|
||||
{
|
||||
//start the costum js
|
||||
if(costumStart) costumStart();
|
||||
if(typeof costumStart == "function") costumStart();
|
||||
|
||||
//get the padId out of the url
|
||||
var urlParts= document.location.pathname.split("/");
|
||||
|
|
Loading…
Reference in a new issue