From ed0121d172a82596864562988d2c6d60b61980fb Mon Sep 17 00:00:00 2001 From: yflory Date: Thu, 29 Jun 2017 18:05:34 +0200 Subject: [PATCH] Lint errors --- www/common/cryptpad-common.js | 2 +- www/pad/main.js | 1 - 2 files changed, 1 insertion(+), 2 deletions(-) diff --git a/www/common/cryptpad-common.js b/www/common/cryptpad-common.js index 92254b9fa..d82c013ab 100644 --- a/www/common/cryptpad-common.js +++ b/www/common/cryptpad-common.js @@ -1275,7 +1275,7 @@ define([ setActive($val); $innerblock.scrollTop($val.position().top + $innerblock.scrollTop()); } - if (config.feedback) { Cryptpad.feedback(config.feedback); } + if (config.feedback) { common.feedback(config.feedback); } }; $container.click(function (e) { diff --git a/www/pad/main.js b/www/pad/main.js index 654f34d5c..00e81e2b9 100644 --- a/www/pad/main.js +++ b/www/pad/main.js @@ -496,7 +496,6 @@ define([ editHash = Cryptpad.getEditHashFromKeys(info.channel, secret.keys); } - var $existingButton = $bar.find('#cke_1_toolbar_collapser').hide(); if (!readOnly) { // Expand / collapse the toolbar var $collapse = Cryptpad.createButton(null, true);