mirror of https://github.com/status-im/codimd.git
Remove unused code
This commit is contained in:
parent
1cae0c5b7f
commit
7a85d62b77
|
@ -2489,7 +2489,6 @@ socket.on('permission', function (data) {
|
||||||
updatePermission(data.permission);
|
updatePermission(data.permission);
|
||||||
});
|
});
|
||||||
var docmaxlength = null;
|
var docmaxlength = null;
|
||||||
var otk = null;
|
|
||||||
var owner = null;
|
var owner = null;
|
||||||
var permission = null;
|
var permission = null;
|
||||||
socket.on('refresh', function (data) {
|
socket.on('refresh', function (data) {
|
||||||
|
@ -2498,7 +2497,6 @@ socket.on('refresh', function (data) {
|
||||||
//console.log(data);
|
//console.log(data);
|
||||||
docmaxlength = data.docmaxlength;
|
docmaxlength = data.docmaxlength;
|
||||||
editor.setOption("maxLength", docmaxlength);
|
editor.setOption("maxLength", docmaxlength);
|
||||||
otk = data.otk;
|
|
||||||
owner = data.owner;
|
owner = data.owner;
|
||||||
updatePermission(data.permission);
|
updatePermission(data.permission);
|
||||||
updateLastInfo(data);
|
updateLastInfo(data);
|
||||||
|
|
Loading…
Reference in New Issue