From 7a85d62b774ed6f26d0cfd772b4adf312c85f0ce Mon Sep 17 00:00:00 2001 From: Wu Cheng-Han Date: Mon, 10 Oct 2016 20:26:12 +0800 Subject: Remove unused code --- public/js/index.js | 2 -- 1 file changed, 2 deletions(-) (limited to 'public') 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); -- cgit v1.2.3