summaryrefslogtreecommitdiff
path: root/app/views/shared/snippets/_blob.html.haml
diff options
context:
space:
mode:
authorPhil Hughes <me@iamphill.com>2016-03-10 13:34:31 +0000
committerPhil Hughes <me@iamphill.com>2016-03-10 13:34:31 +0000
commit704f46837627df405d2ffcf0bd9b74faf8f72f86 (patch)
treeddac6f79eeda0b3e633bb0348977f2b0e538f7cd /app/views/shared/snippets/_blob.html.haml
parenta0c4f3dfa90bf3c7c51af2b5d7c0fcbce45d6280 (diff)
downloadgitlab-ce-704f46837627df405d2ffcf0bd9b74faf8f72f86.tar.gz
Replaced hidden div for textarea off-the screen
Element with the content being copied cant be hidden so instead i\'ve moved it off the screen
Diffstat (limited to 'app/views/shared/snippets/_blob.html.haml')
-rw-r--r--app/views/shared/snippets/_blob.html.haml2
1 files changed, 1 insertions, 1 deletions
diff --git a/app/views/shared/snippets/_blob.html.haml b/app/views/shared/snippets/_blob.html.haml
index c84614c0879..773ce8ac240 100644
--- a/app/views/shared/snippets/_blob.html.haml
+++ b/app/views/shared/snippets/_blob.html.haml
@@ -1,6 +1,6 @@
- unless @snippet.content.empty?
- if markup?(@snippet.file_name)
- .hidden.blob-content{data: {blob_id: @snippet.id}}
+ %textarea.markdown-snippet-copy.blob-content{data: {blob_id: @snippet.id}}
= @snippet.data
.file-content.wiki
= render_markup(@snippet.file_name, @snippet.data)