Fixes issues with the welcome page.

This commit is contained in:
hristoterezov 2014-08-27 11:43:43 +03:00
parent eec2c487fd
commit 2d8707626b
2 changed files with 5 additions and 4 deletions

7
app.js
View File

@ -1036,7 +1036,7 @@ $(document).ready(function () {
{
var val = $("#enter_room_field").val();
if(!val)
val = $("#enter_room_field").attr("placeholder");
val = $("#enter_room_field").attr("room_name");
window.location.pathname = "/" + val;
});
@ -1057,9 +1057,10 @@ $(document).ready(function () {
function update_roomname()
{
var word = RoomNameGenerator.generateRoomWithoutSeparator();
$("#enter_room_field").attr("room_name", word);
$("#enter_room_field").attr("placeholder", "");
animate(RoomNameGenerator.generateRoomWithoutSeparator());
animate(word);
setTimeout(update_roomname, 10000);
}

View File

@ -106,7 +106,7 @@
<div class="feature_holder">
<div class="feature_icon">Open source</div>
<div class="feature_description">
<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.
<span name="appName"></span> is licensed under MIT. You are free to download, use, modify, and share them as per these licenses.
</div>
</div>
<div class="feature_holder">