summaryrefslogtreecommitdiff
path: root/public
diff options
context:
space:
mode:
authorWu Cheng-Han2016-10-10 20:26:12 +0800
committerWu Cheng-Han2016-10-10 20:26:12 +0800
commit7a85d62b774ed6f26d0cfd772b4adf312c85f0ce (patch)
tree0bb35a5771f768718a29816f0d03d69a4af1e361 /public
parent1cae0c5b7f63bd9049fbfbc891f77d1b2af3ec99 (diff)
Remove unused code
Diffstat (limited to '')
-rw-r--r--public/js/index.js2
1 files changed, 0 insertions, 2 deletions
diff --git a/public/js/index.js b/public/js/index.js
index 03729de4..4b8ae715 100644
--- a/public/js/index.js
+++ b/public/js/index.js
@@ -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);