Adding fixes.
This commit is contained in:
@@ -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();
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user