improve including of custom js/css

This commit is contained in:
Peter 'Pita' Martischka 2011-07-31 17:21:01 +01:00
parent 340fbf4d44
commit de32503f8e
6 changed files with 30 additions and 4 deletions

View file

@ -55,8 +55,11 @@
var socket, token, padId;
$(window).load(function ()
$(document).ready(function ()
{
//start the costum js
if(costumStart) costumStart();
//get the padId out of the url
var urlParts= document.location.pathname.split("/");
padId = urlParts[urlParts.length-2];