Small fixes.
This commit is contained in:
@@ -12,6 +12,11 @@ public class LotroCardBlueprintLibrary {
|
||||
private Map<String, LotroCardBlueprint> _blueprintMap = new HashMap<String, LotroCardBlueprint>();
|
||||
|
||||
public LotroCardBlueprint getLotroCardBlueprint(String blueprintId) {
|
||||
if (blueprintId.endsWith("*"))
|
||||
blueprintId = blueprintId.substring(0, blueprintId.length() - 1);
|
||||
if (blueprintId.endsWith("T"))
|
||||
blueprintId = blueprintId.substring(0, blueprintId.length() - 1);
|
||||
|
||||
if (_blueprintMap.containsKey(blueprintId))
|
||||
return _blueprintMap.get(blueprintId);
|
||||
|
||||
|
||||
@@ -29,7 +29,7 @@ var GempLotrDeckBuildingUI = Class.extend({
|
||||
|
||||
this.filterDiv = $("<div></div>");
|
||||
this.filterDiv.append("<button id='previousPage' style='float: left;'>Previous page</button>");
|
||||
this.filterDiv.append("<button id='nextPage' style='float: right;'>Previous page</button>");
|
||||
this.filterDiv.append("<button id='nextPage' style='float: right;'>Next page</button>");
|
||||
this.collectionDiv.append(this.filterDiv);
|
||||
|
||||
$("#previousPage").button({
|
||||
|
||||
Reference in New Issue
Block a user