From 06d4f6be11a10f51238f1271c3feecf2a7070e3e Mon Sep 17 00:00:00 2001 From: Oliver Merkel Date: Fri, 27 May 2016 05:34:17 +0200 Subject: [PATCH] On new game $( '#left-panel' ).panel( 'close' ); --- README.md | 2 +- html5/src/js/hmi.js | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/README.md b/README.md index d7a13c5..1072656 100644 --- a/README.md +++ b/README.md @@ -3,7 +3,7 @@ * Start an online UCThello session on http://omerkel.github.io/UCThello/html5/src * Also published in -* Android APK available for install https://github.com/OMerkel/UCThello/releases/tag/release_apk_0.1 +* Android APK available for install https://github.com/OMerkel/UCThello/releases/tag/release_0.1 * requires minimum Android 4.4.2 (API-19) * Runs in various browsers on * desktop systems like BSDs, Linux, Win, MacOS and diff --git a/html5/src/js/hmi.js b/html5/src/js/hmi.js index 869d5cb..ae06572 100644 --- a/html5/src/js/hmi.js +++ b/html5/src/js/hmi.js @@ -201,6 +201,7 @@ Hmi.prototype.restart = function() { this.engine.postMessage({ class: 'request', request: 'restart', playerwhite: playerWhite, playerblack: playerBlack, passingallowed: passingAllowed }); + $( '#left-panel' ).panel( 'close' ); }; Hmi.prototype.engineEventListener = function( eventReceived ) {