Bladeren bron

Fixes issues with the welcome page.

master
hristoterezov 11 jaren geleden
bovenliggende
commit
2d8707626b
2 gewijzigde bestanden met toevoegingen van 5 en 4 verwijderingen
  1. 4
    3
      app.js
  2. 1
    1
      index.html

+ 4
- 3
app.js Bestand weergeven

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

+ 1
- 1
index.html Bestand weergeven

@@ -106,7 +106,7 @@
106 106
                     <div class="feature_holder">
107 107
                         <div class="feature_icon">Open source</div>
108 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 110
                         </div>
111 111
                     </div>
112 112
                     <div class="feature_holder">

Laden…
Annuleren
Opslaan