From 34523f395adaa9dcbba956a0aeb5a1486d14fe9f Mon Sep 17 00:00:00 2001 From: yann300 Date: Mon, 8 Feb 2021 13:13:55 +0100 Subject: [PATCH] standard --- apps/remix-ide/src/app/tabs/runTab/contractDropdown.js | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/apps/remix-ide/src/app/tabs/runTab/contractDropdown.js b/apps/remix-ide/src/app/tabs/runTab/contractDropdown.js index 6d7a0647c8..04a53a3774 100644 --- a/apps/remix-ide/src/app/tabs/runTab/contractDropdown.js +++ b/apps/remix-ide/src/app/tabs/runTab/contractDropdown.js @@ -201,10 +201,10 @@ class ContractDropdownUI { this.selectContractNames.style.display = 'none' this.enableContractNames(true) this.enableAtAddress(true) - } else if (/.(.sol)$/.exec(currentFile) - || /.(.vy)$/.exec(currentFile) // vyper - || /.(.lex)$/.exec(currentFile) // lexon - || /.(.contract)$/.exec(currentFile)) { + } else if (/.(.sol)$/.exec(currentFile) || + /.(.vy)$/.exec(currentFile) || // vyper + /.(.lex)$/.exec(currentFile) || // lexon + /.(.contract)$/.exec(currentFile)) { this.createPanel.style.display = 'block' this.orLabel.style.display = 'block' this.contractNamesContainer.style.display = 'block'