Replaced hr with enforced margin.

This commit is contained in:
Alexander Kastius
2016-09-01 17:49:59 +02:00
parent 1670839ecf
commit f170fee6a9
3 changed files with 9 additions and 7 deletions

View File

@@ -154,7 +154,7 @@ CodeOceanEditorEvaluation = {
//TODO: Move Prompt Part in own component
showPrompt: function(msg) {
var label = $('#prompt .input-group-addon');
var prompt = $(this.prompt)
var prompt = $(this.prompt);
label.text(msg.data || label.data('prompt'));
if (prompt.isPresent() && prompt.hasClass('hidden')) {
prompt.removeClass('hidden');
@@ -163,7 +163,7 @@ CodeOceanEditorEvaluation = {
},
hidePrompt: function() {
var prompt = $(this.prompt)
var prompt = $(this.prompt);
if (prompt.isPresent() && !prompt.hasClass('hidden')) {
prompt.addClass('hidden');
}