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 c585dbf commit 185b076Copy full SHA for 185b076
src/js/views/controllers/Client.js
@@ -37,8 +37,9 @@ class Client{
37
38
// Let's set the client class
39
40
- $('#wrapper').classList = 'client';
41
- window.mainEditor.layout();
+ this.store.dispatch({
+ type: 'IS_CLIENT'
42
+ });
43
44
this.isConnected = true;
45
src/js/views/controllers/Server.js
@@ -44,8 +44,9 @@ class Server {
// Let's set the admin class
46
47
- $('#wrapper').classList = 'server';
48
+ type: 'IS_SERVER'
49
50
51
resolve();
52
0 commit comments