Skip to content

Commit 7a85d62

Browse files
committed
Remove unused code
1 parent 1cae0c5 commit 7a85d62

1 file changed

Lines changed: 0 additions & 2 deletions

File tree

public/js/index.js

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2489,7 +2489,6 @@ socket.on('permission', function (data) {
24892489
updatePermission(data.permission);
24902490
});
24912491
var docmaxlength = null;
2492-
var otk = null;
24932492
var owner = null;
24942493
var permission = null;
24952494
socket.on('refresh', function (data) {
@@ -2498,7 +2497,6 @@ socket.on('refresh', function (data) {
24982497
//console.log(data);
24992498
docmaxlength = data.docmaxlength;
25002499
editor.setOption("maxLength", docmaxlength);
2501-
otk = data.otk;
25022500
owner = data.owner;
25032501
updatePermission(data.permission);
25042502
updateLastInfo(data);

0 commit comments

Comments
 (0)