1
0
mirror of https://github.com/exane/not-gwent-online synced 2024-11-23 19:36:53 +00:00
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")*/ this.$el.find("#deckChoice option[value='" + val + "']").attr("selected", "selected")*/
localStorage["userName"] = this.app.user.get("name"); localStorage["userName"] = this.app.user.get("name");
/*this.render();*/ /*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){ changeName: function(e){
let name = $(e.target).val(); let name = $(e.target).val();

View File

@ -67,7 +67,7 @@
<div class="container-form-landing"> <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"> <select id="deckChoice" class="field-session">
<option value="random">Deck: Random</option> <option value="random">Deck: Random</option>