mirror of
https://github.com/ether/etherpad-lite.git
synced 2025-01-31 19:02:59 +01:00
client side code now fixed
This commit is contained in:
parent
020b636b1f
commit
d10013c159
1 changed files with 2 additions and 1 deletions
|
@ -9,7 +9,8 @@ $(document).ready(function () {
|
|||
resource = baseURL.substring(1) + "socket.io";
|
||||
|
||||
//connect
|
||||
socket = io.connect(url, {resource : resource}).of("/settings");
|
||||
var room = url + "settings";
|
||||
socket = io.connect(room, {resource : resource});
|
||||
|
||||
socket.on('settings', function (settings) {
|
||||
|
||||
|
|
Loading…
Reference in a new issue