refresh chessground after mobile deep-link

This commit is contained in:
Thibault Duplessis 2016-11-07 13:00:10 +01:00
parent 6a6054aae5
commit 9563d23cc9

View file

@ -264,6 +264,7 @@ lichess.notifyApp = (function() {
'</div>'
).find('a').click(function() {
$('#deeplink').remove();
document.body.dispatchEvent(new Event('chessground.resize'));
if ($(this).attr('href')) storage.remove();
else storage.set(10);
return true;