mirror of
https://github.com/pcottle/learnGitBranching.git
synced 2025-07-01 18:24:28 +02:00
fixes silly error in next level dialog Issue #56
This commit is contained in:
parent
956d559697
commit
3523d28416
7 changed files with 14 additions and 6 deletions
|
@ -426,7 +426,9 @@ var ConfirmCancelTerminal = Backbone.View.extend({
|
|||
var NextLevelConfirm = ConfirmCancelTerminal.extend({
|
||||
initialize: function(options) {
|
||||
options = options || {};
|
||||
var nextLevelName = (options.nextLevel) ? options.nextLevel.name : '';
|
||||
var nextLevelName = (options.nextLevel) ?
|
||||
intl.getName(options.nextLevel) :
|
||||
'';
|
||||
var pluralNumCommands = (options.numCommands == 1) ? '' : 's';
|
||||
var pluralBest = (options.best == 1) ? '' : 's';
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue