Minibar: add show/hide functions

This commit is contained in:
john.j.camilleri
2012-11-23 08:08:13 +00:00
parent 24bf1f0d0e
commit c94e34d4e4

View File

@@ -57,6 +57,12 @@ function Minibar(server,opts) {
menubar.appendChild(button("Help",bind(open_help,this)));
append_extra_buttons(extra,options);
}
this.hide = function() {
this.minibar.style.display="none";
}
this.show = function() {
this.minibar.style.display="block";
}
/* --- Minibar client state initialisation ------------------------------ */
this.grammar=null;