Verified Commit e54c0c5f authored by Camil Staps's avatar Camil Staps 🚀

Fix closing of windows when "close" is sent to the client (this should not...

Fix closing of windows when "close" is sent to the client (this should not check for closeWindowOnClose)
parent 090539ff
...@@ -110,7 +110,7 @@ class Component { ...@@ -110,7 +110,7 @@ class Component {
break; break;
case 'close': case 'close':
this.closing=true; this.closing=true;
if (this.closeWindowOnClose && typeof window!='undefined') if (typeof window!='undefined')
window.close(); window.close();
break; break;
default: default:
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment