From 0f773f9e2187d6ba80e7be608640ee574b5ac4be Mon Sep 17 00:00:00 2001 From: Konstantin Kharlamov Date: Fri, 22 Mar 2019 01:50:40 +0300 Subject: [PATCH] composer-web-view: remove unused variable Fixes LGTM warning "Unused variable state." Signed-off-by: Konstantin Kharlamov --- ui/composer-web-view.js | 2 -- 1 file changed, 2 deletions(-) diff --git a/ui/composer-web-view.js b/ui/composer-web-view.js index 876e4cb5..9223bf7c 100644 --- a/ui/composer-web-view.js +++ b/ui/composer-web-view.js @@ -32,8 +32,6 @@ ComposerPageState.prototype = { this.nextSelectionId = 0; this.cursorContext = null; - let state = this; - document.addEventListener("click", function(e) { if (e.target.tagName == "A") { e.preventDefault();