Browse Source

Fixes issues with the welcome page.

j8
hristoterezov 11 years ago
parent
commit
2d8707626b
2 changed files with 5 additions and 4 deletions
  1. 4
    3
      app.js
  2. 1
    1
      index.html

+ 4
- 3
app.js View File

1036
         {
1036
         {
1037
             var val = $("#enter_room_field").val();
1037
             var val = $("#enter_room_field").val();
1038
             if(!val)
1038
             if(!val)
1039
-                val = $("#enter_room_field").attr("placeholder");
1039
+                val = $("#enter_room_field").attr("room_name");
1040
             window.location.pathname = "/" + val;
1040
             window.location.pathname = "/" + val;
1041
         });
1041
         });
1042
 
1042
 
1057
 
1057
 
1058
         function update_roomname()
1058
         function update_roomname()
1059
         {
1059
         {
1060
-
1060
+            var word = RoomNameGenerator.generateRoomWithoutSeparator();
1061
+            $("#enter_room_field").attr("room_name", word);
1061
             $("#enter_room_field").attr("placeholder", "");
1062
             $("#enter_room_field").attr("placeholder", "");
1062
-            animate(RoomNameGenerator.generateRoomWithoutSeparator());
1063
+            animate(word);
1063
             setTimeout(update_roomname, 10000);
1064
             setTimeout(update_roomname, 10000);
1064
 
1065
 
1065
         }
1066
         }

+ 1
- 1
index.html View File

106
                     <div class="feature_holder">
106
                     <div class="feature_holder">
107
                         <div class="feature_icon">Open source</div>
107
                         <div class="feature_icon">Open source</div>
108
                         <div class="feature_description">
108
                         <div class="feature_description">
109
-                            <span name="appName"></span> is licensed under the &lt;GPL/LGPL/WHATEVER&gt;. You can download, use, modify, and share the software without any restrictions.
109
+                            <span name="appName"></span> is licensed under MIT. You are free to download, use, modify, and share them as per these licenses.
110
                         </div>
110
                         </div>
111
                     </div>
111
                     </div>
112
                     <div class="feature_holder">
112
                     <div class="feature_holder">

Loading…
Cancel
Save