only show prompt overlay if there's a prompt

on which to overlay
This commit is contained in:
Min RK 2015-02-02 11:27:23 -08:00
parent c0b5621732
commit f1828497e5

View File

@ -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();
}