Commit 47f6453c authored by yann300's avatar yann300

replace toggle by show

parent b2e4b3fa
...@@ -86,4 +86,9 @@ DropdownPanel.prototype.hide = function () { ...@@ -86,4 +86,9 @@ DropdownPanel.prototype.hide = function () {
el.style.display = 'none' el.style.display = 'none'
} }
DropdownPanel.prototype.show = function () {
var el = this.view.querySelector('.dropdownpanel')
el.style.display = ''
}
module.exports = DropdownPanel module.exports = DropdownPanel
...@@ -87,7 +87,7 @@ TxBrowser.prototype.update = function (error, tx) { ...@@ -87,7 +87,7 @@ TxBrowser.prototype.update = function (error, tx) {
this.basicPanel.data = info this.basicPanel.data = info
this.basicPanel.update() this.basicPanel.update()
if (error) { if (error) {
this.basicPanel.toggle() this.basicPanel.show()
} }
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment