replace toggle by show

pull/7/head
yann300 8 years ago
parent b2e4b3fa75
commit 47f6453cbf
  1. 5
      src/ui/DropdownPanel.js
  2. 2
      src/ui/TxBrowser.js

@ -86,4 +86,9 @@ DropdownPanel.prototype.hide = function () {
el.style.display = 'none'
}
DropdownPanel.prototype.show = function () {
var el = this.view.querySelector('.dropdownpanel')
el.style.display = ''
}
module.exports = DropdownPanel

@ -87,7 +87,7 @@ TxBrowser.prototype.update = function (error, tx) {
this.basicPanel.data = info
this.basicPanel.update()
if (error) {
this.basicPanel.toggle()
this.basicPanel.show()
}
}

Loading…
Cancel
Save