Fixes issues with the welcome page.
This commit is contained in:
parent
eec2c487fd
commit
2d8707626b
7
app.js
7
app.js
|
@ -1036,7 +1036,7 @@ $(document).ready(function () {
|
||||||
{
|
{
|
||||||
var val = $("#enter_room_field").val();
|
var val = $("#enter_room_field").val();
|
||||||
if(!val)
|
if(!val)
|
||||||
val = $("#enter_room_field").attr("placeholder");
|
val = $("#enter_room_field").attr("room_name");
|
||||||
window.location.pathname = "/" + val;
|
window.location.pathname = "/" + val;
|
||||||
});
|
});
|
||||||
|
|
||||||
|
@ -1057,9 +1057,10 @@ $(document).ready(function () {
|
||||||
|
|
||||||
function update_roomname()
|
function update_roomname()
|
||||||
{
|
{
|
||||||
|
var word = RoomNameGenerator.generateRoomWithoutSeparator();
|
||||||
|
$("#enter_room_field").attr("room_name", word);
|
||||||
$("#enter_room_field").attr("placeholder", "");
|
$("#enter_room_field").attr("placeholder", "");
|
||||||
animate(RoomNameGenerator.generateRoomWithoutSeparator());
|
animate(word);
|
||||||
setTimeout(update_roomname, 10000);
|
setTimeout(update_roomname, 10000);
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
|
@ -106,7 +106,7 @@
|
||||||
<div class="feature_holder">
|
<div class="feature_holder">
|
||||||
<div class="feature_icon">Open source</div>
|
<div class="feature_icon">Open source</div>
|
||||||
<div class="feature_description">
|
<div class="feature_description">
|
||||||
<span name="appName"></span> is licensed under the <GPL/LGPL/WHATEVER>. 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>
|
</div>
|
||||||
<div class="feature_holder">
|
<div class="feature_holder">
|
||||||
|
|
Loading…
Reference in New Issue