diff --git a/app/assets/javascripts/samples/samples.js b/app/assets/javascripts/samples/samples.js index 41ab8b6a4..ab48e2462 100644 --- a/app/assets/javascripts/samples/samples.js +++ b/app/assets/javascripts/samples/samples.js @@ -148,22 +148,22 @@ function updateSamplesTypesandGroups() { } function sampleAlertMsg(message, type) { - var alert_type, glyph_sign; - if (type == "success") { - alert_type = " alert-success "; - glyph_sign = " glyphicon-ok-sign "; - } else if (type == "danger") { - alert_type = " alert-danger "; - glyph_sign = " glyphicon-exclamation-sign "; + var alertType, glyphSign; + if (type == 'success') { + alertType = ' alert-success '; + glyphSign = ' glyphicon-ok-sign '; + } else if (type == 'danger') { + alertType = ' alert-danger '; + glyphSign = ' glyphicon-exclamation-sign '; } - var html_snippet = '