From ed7d8e6b8529fef00669299ba297d66b58a234cf Mon Sep 17 00:00:00 2001 From: Garrett Finucane Date: Tue, 22 Jul 2014 21:53:51 -0400 Subject: [PATCH] share buttons share at game over --- js/initialization.js | 2 +- js/view.js | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/js/initialization.js b/js/initialization.js index f118c4b..f7088e9 100644 --- a/js/initialization.js +++ b/js/initialization.js @@ -10,7 +10,7 @@ function showbottombar() { setTimeout(showbottombar, 1000); } else { window.iframeHasLoaded = true; - if (!(gameState == 1 || gameState == 2)) { + if (gameState != 1) { $('#bottombar').fadeIn(150, 'linear'); } } diff --git a/js/view.js b/js/view.js index ba8fefd..03b0481 100644 --- a/js/view.js +++ b/js/view.js @@ -187,6 +187,7 @@ function gameOverDisplay(){ var c = document.getElementById("canvas"); c.className = "blur"; showText('gameover'); + showbottombar(); } function togglePlayIcon (){