We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 79dd10b commit a837a53Copy full SHA for a837a53
src/index.js
@@ -120,13 +120,11 @@ function setWindowAutoHide(autoHide) {
120
});
121
}
122
123
- if (framed) {
124
- if (autoHide) {
125
- window.on("close", function(event) {
126
- event.preventDefault();
127
- window.hide();
128
- });
129
- }
+ if (framed && autoHide) {
+ window.on("close", function(event) {
+ event.preventDefault();
+ window.hide();
+ });
130
131
132
0 commit comments