X-Git-Url: https://jasonwoof.com/gitweb/?p=hexbog.git;a=blobdiff_plain;f=main.coffee;h=b8ad32cecef5de8a7a1e4251243b9dbaf6080cf2;hp=0f11b9e2afd4faebd8f82297865c2aedb42ba79d;hb=cc3e04ff54223593d958029aa8ec958bba1dde51;hpb=59ce729a6e40837f20c48923b85420f8531250ec 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()