Add default string for try again button
parent
dff2c90df6
commit
2a92e640ef
|
@ -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();
|
||||
|
|
Loading…
Reference in New Issue