Alanren/fix4001 (#4011)

* fix for 4001

* Revert "fix for 4001"

This reverts commit 91fed44f063acb44b844a206a13e4074150d8118.

* fix for issue 4001
This commit is contained in:
Alan Ren
2019-02-11 21:51:55 -08:00
committed by Karl Burtram
parent c91c4b01f9
commit 887f4e8985

View File

@@ -430,7 +430,6 @@ export abstract class Modal extends Disposable implements IThemable {
* Hides the modal and removes key listeners
*/
protected hide() {
this._footerButtons.forEach(button => button.applyStyles());
this._modalShowingContext.get().pop();
this._builder.offDOM();
if (this._focusedElementBeforeOpen) {