mirror of
https://github.com/hedgedoc/hedgedoc.git
synced 2024-11-29 19:14:25 -05:00
Remove unused code
This commit is contained in:
parent
1cae0c5b7f
commit
7a85d62b77
1 changed files with 0 additions and 2 deletions
|
@ -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 a new issue