From 2a92e640ef95ec0992171dbbfeb3df4d96734c1c Mon Sep 17 00:00:00 2001 From: Frode Petterson Date: Mon, 13 Feb 2017 14:49:53 +0100 Subject: [PATCH] Add default string for try again button --- memory-game.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/memory-game.js b/memory-game.js index b86cef0..ad48c20 100644 --- a/memory-game.js +++ b/memory-game.js @@ -83,7 +83,7 @@ H5P.MemoryGame = (function (EventDispatcher, $) { $feedback.addClass('h5p-show'); if (parameters.behaviour && parameters.behaviour.allowRetry) { // Create retry button - var retryButton = createButton('reset', parameters.l10n.tryAgain, function () { + var retryButton = createButton('reset', parameters.l10n.tryAgain || 'Try again?', function () { // Trigger handler (action) resetGame();