From 5d2c8cdb574a7aa46cd4fb79827b5c66ffea39f0 Mon Sep 17 00:00:00 2001 From: lianahus Date: Wed, 9 Jun 2021 14:45:41 +0200 Subject: [PATCH] added Title --- apps/remix-ide/src/app/tabs/test-tab.js | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/apps/remix-ide/src/app/tabs/test-tab.js b/apps/remix-ide/src/app/tabs/test-tab.js index a01e3928d2..1980664168 100644 --- a/apps/remix-ide/src/app/tabs/test-tab.js +++ b/apps/remix-ide/src/app/tabs/test-tab.js @@ -609,7 +609,7 @@ module.exports = class TestTab extends ViewPlugin { let testDirInput = this.trimTestDirInput(this.inputPath.value) testDirInput = removeMultipleSlashes(testDirInput) if (testDirInput !== '/') testDirInput = removeTrailingSlashes(testDirInput) - if (e.key === 'Enter' || e.type === 'keyup ') { + if (e.key === 'Enter') { this.inputPath.value = testDirInput if (await this.testTabLogic.pathExists(testDirInput)) { this.testTabLogic.setCurrentPath(testDirInput) @@ -666,6 +666,7 @@ module.exports = class TestTab extends ViewPlugin { id="utPath" data-id="uiPathInput" name="utPath" + title="Press 'Enter' to change the path for test files." style="background-image: var(--primary);" onkeyup=${(e) => this.handleTestDirInput(e)} onchange=${async (e) => this.handleEnter(e)}