started multi-page implementation
This commit is contained in:
parent
a6d4577c46
commit
cecbdc425e
@ -56,6 +56,11 @@ signaling_socket.on('connect', function () {
|
|||||||
whiteboard.updateSmallestScreenResolution(widthHeight["w"], widthHeight["h"]);
|
whiteboard.updateSmallestScreenResolution(widthHeight["w"], widthHeight["h"]);
|
||||||
});
|
});
|
||||||
|
|
||||||
|
signaling_socket.on('updateBiggestScreenResolution', function (widthHeight) {
|
||||||
|
//whiteboard.updateSmallestScreenResolution(widthHeight["w"], widthHeight["h"]);
|
||||||
|
// todo: implement biggest resolution check & update
|
||||||
|
});
|
||||||
|
|
||||||
signaling_socket.emit('joinWhiteboard', { wid: whiteboardId, at: accessToken, windowWidthHeight: { w: $(window).width(), h: $(window).height() } });
|
signaling_socket.emit('joinWhiteboard', { wid: whiteboardId, at: accessToken, windowWidthHeight: { w: $(window).width(), h: $(window).height() } });
|
||||||
});
|
});
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user