Deck build and merchant are now links, rather than buttons.

This commit is contained in:
marcins78
2013-01-02 10:26:04 +00:00
parent aff489a485
commit 1a6325306e

View File

@@ -52,22 +52,10 @@ var GempLotrHallUI = Class.extend({
var that = this;
var editDeck = $("<button>Deck builder</button>");
editDeck.button().click(
function () {
location.href = 'deckBuild.html';
});
var merchant = $("<button>Merchant</button>");
merchant.button().click(
function () {
location.href = 'merchant.html';
});
this.buttonsDiv.append(editDeck);
this.buttonsDiv.append("<a href='deckBuild.html'>Deck builder</a>");
this.buttonsDiv.append(" | ");
this.buttonsDiv.append(merchant);
this.buttonsDiv.append("<a href='merchant.html'>Merchant</a>");
this.buttonsDiv.append(" | ");
this.pocketDiv = $("<div class='pocket'></div>");