Secure the call of the costumStart function

Author: Peter 'Pita' Martischka <petermartischka@googlemail.com>
This commit is contained in:
Peter 'Pita' Martischka 2011-08-01 12:08:18 +01:00 committed by Etherpad Lite
parent 38fd56a877
commit 053e48c3f4
3 changed files with 3 additions and 3 deletions

View file

@ -30,7 +30,7 @@ $(document).ready(function()
}
//start the costum js
if(costumStart) costumStart();
if(typeof costumStart == "function") costumStart();
handshake();
});