diff --git a/app/assets/javascripts/editor/editor.js.erb b/app/assets/javascripts/editor/editor.js.erb index 75c09bb4..2ac499c4 100644 --- a/app/assets/javascripts/editor/editor.js.erb +++ b/app/assets/javascripts/editor/editor.js.erb @@ -91,7 +91,7 @@ configureEditors: function () { showOutput: function(event) { event.preventDefault(); this.showOutputBar(); - $('#output').scrollTo($(event.target).attr('href')); + $('body').scrollTo($(event.target).attr('href')); }, renderProgressBar: function(score, maximum_score) {