diff --git a/src/templates/pad.html b/src/templates/pad.html index ca410154c..52e065afe 100644 --- a/src/templates/pad.html +++ b/src/templates/pad.html @@ -461,9 +461,23 @@ })(); // @license-end + +var url = "../socket.io/socket.io.js?padId="+padId; // needs temp version ading back in later +var script = document.createElement('script'); +script.onload = function () { + //do stuff with the script +}; +script.src = url; +document.head.appendChild(script); //or something of the likes + + +