added Title

pull/1271/head
lianahus 4 years ago committed by Liana Husikyan
parent e299485342
commit 174dcb4cea
  1. 3
      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)}

Loading…
Cancel
Save