diff --git a/views/tutorial/html/2.erb b/views/tutorial/html/2.erb index 6f615be2..d327a7b5 100644 --- a/views/tutorial/html/2.erb +++ b/views/tutorial/html/2.erb @@ -42,7 +42,6 @@ } else { sessionStorage.setItem('tutorialHtml', html) ok('Great, you did it!', '/tutorial/html/3') - } } diff --git a/views/tutorial/layout.erb b/views/tutorial/layout.erb index 0afdd089..07ceebd4 100644 --- a/views/tutorial/layout.erb +++ b/views/tutorial/layout.erb @@ -50,11 +50,11 @@ }) editor.commands.addCommand({ - name: 'saveCommand', - bindKey: {win: 'Ctrl-S', mac: 'Command-S'}, - exec: function(editor) { - $('#submit').click() - } + name: 'saveCommand', + bindKey: {win: 'Ctrl-S', mac: 'Command-S'}, + exec: function(editor) { + $('#submit').click() + } }) })