From 0e75d04a3c266eabce3682b27d716b1275c44d04 Mon Sep 17 00:00:00 2001 From: John McLear Date: Tue, 10 Nov 2020 13:20:58 +0000 Subject: [PATCH] param for testing --- src/templates/pad.html | 16 +++++++++++++++- 1 file changed, 15 insertions(+), 1 deletion(-) 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 + + +