Adding fixes.

This commit is contained in:
marcins78@gmail.com
2012-03-15 18:19:45 +00:00
parent 3a6a3e4039
commit 91bb758288

View File

@@ -1505,14 +1505,14 @@ var GempLotrGameUI = Class.extend({
var processButtons = function() {
that.alertButtons.html("");
if (selectedCardIds.length == 0) {
that.alertButtons.append("<button id='Pass' style='float: right'>Pass</button>");
that.alertButtons.append("<button id='Pass'>Pass</button>");
$("#Pass").button().click(function() {
finishChoice();
});
}
if (selectedCardIds.length > 0) {
that.alertButtons.append("<button id='ClearSelection'>Reset choice</button>");
that.alertButtons.append("<button id='Done'>Done</button>");
that.alertButtons.append("<button id='Done' style='float: right'>Done</button>");
$("#Done").button().click(function() {
finishChoice();
});
@@ -1788,7 +1788,7 @@ var GempLotrGameUI = Class.extend({
});
}
if (selectedCardIds.length >= min) {
that.alertButtons.append("<button id='Done'>Done</button>");
that.alertButtons.append("<button id='Done' style='float: right'>Done</button>");
$("#Done").button().click(function() {
finishChoice();
});