diff --git a/src/static/js/timeslider.js b/src/static/js/timeslider.js index 240bb924..eb3703d9 100644 --- a/src/static/js/timeslider.js +++ b/src/static/js/timeslider.js @@ -108,8 +108,8 @@ function init() { }); exports.socket = socket; // make the socket available - hooks.aCallAll("postTimesliderInit"); + hooks.aCallAll("postTimesliderInit"); }); } diff --git a/src/templates/timeslider.html b/src/templates/timeslider.html index 902c7191..d3062449 100644 --- a/src/templates/timeslider.html +++ b/src/templates/timeslider.html @@ -213,6 +213,8 @@ } var plugins = require('ep_etherpad-lite/static/js/pluginfw/client_plugins'); + var socket = require('ep_etherpad-lite/static/js/timeslider').socket; + plugins.baseURL = baseURL; plugins.update(function () {