removed Copy to clipboard label from compiler tab

pull/3094/head
LianaHus 6 years ago
parent dd822f028b
commit b5b94ec6d7
  1. 2
      src/app/debugger/debuggerUI/vmDebugger/DropdownPanel.js
  2. 3
      src/app/tabs/compile-tab.js

@ -99,7 +99,7 @@ DropdownPanel.prototype.update = function (_data, _header) {
DropdownPanel.prototype.setContent = function (node) {
if (!this.view) return
var parent = this.view.querySelector('.dropdownpanel div.dropdowncontent')
parent.replaceChild(node, parent.firstElementChild)
if (parent) parent.replaceChild(node, parent.firstElementChild)
}
DropdownPanel.prototype.render = function (overridestyle) {

@ -183,9 +183,6 @@ class CompileTab extends CompilerApi {
<!-- Copy to Clipboard -->
<div class="${css.contractHelperButtons} btn-secondary">
<div class="input-group">
<div class="input-group-prepend">
<span class="input-group-text">Copy to clipboard</span>
</div>
<div class="btn-group" role="group" aria-label="Copy to Clipboard">
<button class="btn btn-secondary" title="Copy ABI to clipboard" onclick="${() => { this.copyABI() }}">
<i class="${css.copyIcon} fa fa-clipboard" aria-hidden="true"></i>

Loading…
Cancel
Save