Browse Source

show toolbar on join

master
Philipp Hancke 11 years ago
parent
commit
3567898162
2 changed files with 6 additions and 5 deletions
  1. 0
    2
      app.js
  2. 6
    3
      css/main.css

+ 0
- 2
app.js View File

185
 
185
 
186
 
186
 
187
 $(document).bind('joined.muc', function (event, jid, info) {
187
 $(document).bind('joined.muc', function (event, jid, info) {
188
-    console.log('onJoinComplete', info);
189
     updateRoomUrl(window.location.href);
188
     updateRoomUrl(window.location.href);
190
 
189
 
191
     // Once we've joined the muc show the toolbar
190
     // Once we've joined the muc show the toolbar
193
 
192
 
194
     if (Object.keys(connection.emuc.members).length < 1) {
193
     if (Object.keys(connection.emuc.members).length < 1) {
195
         focus = new ColibriFocus(connection, config.hosts.bridge);
194
         focus = new ColibriFocus(connection, config.hosts.bridge);
196
-        return;
197
     }
195
     }
198
 });
196
 });
199
 
197
 

+ 6
- 3
css/main.css View File

147
     display:none;
147
     display:none;
148
 }
148
 }
149
 
149
 
150
-#header{
151
-	display:block;
150
+#header {
152
     height:39px;
151
     height:39px;
153
-    z-index: 1;
154
     text-align:center;
152
     text-align:center;
155
     background-color:#087dba;
153
     background-color:#087dba;
156
 }
154
 }
157
 
155
 
156
+#toolbar {
157
+    visibility:hidden;
158
+    height:39px;
159
+}
160
+
158
 #left {
161
 #left {
159
 	display:block;
162
 	display:block;
160
     position: absolute;
163
     position: absolute;

Loading…
Cancel
Save