Commit b79adf4b authored by Vildravn's avatar Vildravn Committed by Krystof Riha

Fix non-functioning buttons

parent accbe43a
......@@ -120,7 +120,7 @@ define([
});
},
onGetCharacter: function (charName, result) {
this.find('.button').removeClass('disabled');
this.find('.btn').removeClass('disabled');
let spriteY = ~~(result.cell / 8);
let spirteX = result.cell - (spriteY * 8);
......
......@@ -32,7 +32,7 @@ define([
.on('mousemove', this.onClassHover.bind(this))
.on('mouseleave', this.onClassUnhover.bind(this));
this.find('.skinBox .button').on('click', this.changeCostume.bind(this));
this.find('.skinBox .btn').on('click', this.changeCostume.bind(this));
this.find('.btnBack').on('click', this.back.bind(this));
this.find('.btnCreate').on('click', this.create.bind(this));
......
......@@ -34,7 +34,7 @@ define([
this.find('.prophecy-mine').on('click', this.onMine.bind(this));
this.find('.prophecy-none').on('click', this.onNone.bind(this));
this.find('.button').on('click', this.onRefresh.bind(this));
this.find('.btn').on('click', this.onRefresh.bind(this));
this.find('.buttons .btn').on('click', this.onPage.bind(this));
},
......
......@@ -26,7 +26,7 @@ define([
.appendTo($('<div class="uiLoginExtra"></div>')
.appendTo('.ui-container'));
$('.uiLoginExtra').find('.button').on('click', this.redirect.bind(this));
$('.uiLoginExtra').find('.btn').on('click', this.redirect.bind(this));
$('.news, .version').on('click', this.redirect.bind(this));
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment