Add default string for try again button

pull/18/head
Frode Petterson 2017-02-13 14:49:53 +01:00
parent dff2c90df6
commit 2a92e640ef
1 changed files with 1 additions and 1 deletions

View File

@ -83,7 +83,7 @@ H5P.MemoryGame = (function (EventDispatcher, $) {
$feedback.addClass('h5p-show'); $feedback.addClass('h5p-show');
if (parameters.behaviour && parameters.behaviour.allowRetry) { if (parameters.behaviour && parameters.behaviour.allowRetry) {
// Create retry button // Create retry button
var retryButton = createButton('reset', parameters.l10n.tryAgain, function () { var retryButton = createButton('reset', parameters.l10n.tryAgain || 'Try again?', function () {
// Trigger handler (action) // Trigger handler (action)
resetGame(); resetGame();