From c548f572df8eafff6374a0a013aab717af1256c8 Mon Sep 17 00:00:00 2001 From: Johannes Zellner Date: Mon, 6 Jan 2020 16:38:33 +0100 Subject: [PATCH] fixup linter errors --- src/js/terminal.js | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/js/terminal.js b/src/js/terminal.js index b4faec9a4..c0cdc758c 100644 --- a/src/js/terminal.js +++ b/src/js/terminal.js @@ -3,7 +3,7 @@ /* global angular */ /* global $ */ /* global Terminal */ -/* global RSTATES,ISTATES */ +/* global ISTATES */ // create main application module var app = angular.module('Application', ['angular-md5', 'ui-notification']); @@ -276,7 +276,7 @@ app.controller('TerminalController', ['$scope', '$timeout', '$location', 'Client $scope.terminal.focus(); }; - $('.contextMenuBackdrop').on('click', function (e) { + $('.contextMenuBackdrop').on('click', function () { $('#terminalContextMenu').hide(); $('.contextMenuBackdrop').hide(); @@ -298,7 +298,7 @@ app.controller('TerminalController', ['$scope', '$timeout', '$location', 'Client return false; }); - window.addEventListener('resize', function (e) { + window.addEventListener('resize', function () { if ($scope.terminal) $scope.terminal.fit(); });