From cc3e04ff54223593d958029aa8ec958bba1dde51 Mon Sep 17 00:00:00 2001 From: Jason Woofenden Date: Thu, 21 Feb 2013 18:44:58 -0500 Subject: [PATCH] replace log tab with donate tab --- main.coffee | 5 ++--- main.html | 15 ++++++--------- 2 files changed, 8 insertions(+), 12 deletions(-) diff --git a/main.coffee b/main.coffee index 0f11b9e..b8ad32c 100644 --- a/main.coffee +++ b/main.coffee @@ -574,7 +574,7 @@ init_tab = (t) -> $('#' + t).removeClass('tab').addClass('selected-tab').animate({height: tab_height}, 1000) cur_tab = t init_tabs = -> - for t in ['instructions', 'definition', 'logtab', 'restart'] + for t in ['instructions', 'definition', 'donate', 'restart'] init_tab t init_keybinding = -> @@ -589,8 +589,7 @@ $log = undefined init_log = -> $log = $('#log') log = (msg) -> - $log.children().last().remove() - $log.prepend $('
').html msg + console.log msg if console.log? init_game = -> init_log() diff --git a/main.html b/main.html index 312ef1c..e6c6eb0 100644 --- a/main.html +++ b/main.html @@ -1,7 +1,7 @@ - HexBog + HexBog – a simple word game