From 888028c542cb7d04263a5307a3a48aa253457562 Mon Sep 17 00:00:00 2001 From: yflory Date: Thu, 5 Oct 2017 18:13:28 +0200 Subject: [PATCH] Lint --- www/poll/inner.js | 9 +++------ 1 file changed, 3 insertions(+), 6 deletions(-) diff --git a/www/poll/inner.js b/www/poll/inner.js index 7d0f059f6..5586beb04 100644 --- a/www/poll/inner.js +++ b/www/poll/inner.js @@ -554,15 +554,12 @@ define([ }); toLock.forEach(lockColumn); - toLockR = []; + toLock = []; APP.unlocked.row.forEach(function (id) { if (keepRowUnlocked.indexOf(id) !== -1) { return; } - toLockR.push(id); + toLock.push(id); }); - toLockR.forEach(lockRow); - /*APP.unlocked.col = Cryptpad.deduplicateString([APP.userid].concat(APP.uncommitted.content.colsOrder).slice()); - APP.unlocked.row = APP.uncommitted.content.rowsOrder.slice(); - change();*/ + toLock.forEach(lockRow); }; /* Called whenever an event is fired on a span */