summaryrefslogtreecommitdiff
path: root/app/views/projects/blob/_editor.html.haml
diff options
context:
space:
mode:
authorPhil Hughes <me@iamphill.com>2016-07-05 13:52:20 +0100
committerPhil Hughes <me@iamphill.com>2016-07-20 08:42:59 +0100
commit26055b16b58afd73e31f7aaacb9aaa79ba3794c2 (patch)
tree605cad3fddd4c8e8acafc9563e84eb0e95e02b74 /app/views/projects/blob/_editor.html.haml
parent79b02e40e5842540ceff4454f6c2c51f13fc081c (diff)
downloadgitlab-ce-26055b16b58afd73e31f7aaacb9aaa79ba3794c2.tar.gz
Highlight empty lines
Closes #19484
Diffstat (limited to 'app/views/projects/blob/_editor.html.haml')
-rw-r--r--app/views/projects/blob/_editor.html.haml2
1 files changed, 1 insertions, 1 deletions
diff --git a/app/views/projects/blob/_editor.html.haml b/app/views/projects/blob/_editor.html.haml
index ff379bafb26..0237e152b54 100644
--- a/app/views/projects/blob/_editor.html.haml
+++ b/app/views/projects/blob/_editor.html.haml
@@ -24,7 +24,7 @@
.encoding-selector
= select_tag :encoding, options_for_select([ "base64", "text" ], "text"), class: 'select2'
- .file-content.code
+ .file-editor.code
%pre.js-edit-mode-pane#editor #{params[:content] || local_assigns[:blob_data]}
- if local_assigns[:path]
.js-edit-mode-pane#preview.hide