This commit is contained in:
exane 2015-07-04 22:00:45 +02:00
parent 4056870acc
commit b9daf667c3
2 changed files with 2 additions and 2 deletions

View File

@ -918,7 +918,7 @@ let Lobby = Backbone.View.extend({
this.$el.find("#deckChoice option[value='" + val + "']").attr("selected", "selected")*/
localStorage["userName"] = this.app.user.get("name");
/*this.render();*/
this.$el.find(".field-username").val(this.app.user.get("name"));
this.$el.find(".name-input").val(this.app.user.get("name"));
},
changeName: function(e){
let name = $(e.target).val();

View File

@ -67,7 +67,7 @@
<div class="container-form-landing">
<input type="text" placeholder="Username" class="field-session field-username" autofocus value="{{name}}">
<input type="text" placeholder="Username" class="field-session field-username name-input" autofocus value="{{name}}">
<select id="deckChoice" class="field-session">
<option value="random">Deck: Random</option>