mirror of
https://github.com/hedgedoc/hedgedoc.git
synced 2024-11-26 03:33:58 -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);
|
||||
});
|
||||
var docmaxlength = null;
|
||||
var otk = null;
|
||||
var owner = null;
|
||||
var permission = null;
|
||||
socket.on('refresh', function (data) {
|
||||
|
@ -2498,7 +2497,6 @@ socket.on('refresh', function (data) {
|
|||
//console.log(data);
|
||||
docmaxlength = data.docmaxlength;
|
||||
editor.setOption("maxLength", docmaxlength);
|
||||
otk = data.otk;
|
||||
owner = data.owner;
|
||||
updatePermission(data.permission);
|
||||
updateLastInfo(data);
|
||||
|
|
Loading…
Reference in a new issue