mirror of
https://github.com/jupyter/notebook.git
synced 2025-01-24 12:05:22 +08:00
only show prompt overlay if there's a prompt
on which to overlay
This commit is contained in:
parent
c0b5621732
commit
f1828497e5
@ -138,7 +138,9 @@ define([
|
||||
if (this.collapsed) {
|
||||
this.collapse_button.hide();
|
||||
this.element.show();
|
||||
this.prompt_overlay.show();
|
||||
if (this.prompt_area) {
|
||||
this.prompt_overlay.show();
|
||||
}
|
||||
this.collapsed = false;
|
||||
this.scroll_if_long();
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user