summaryrefslogtreecommitdiff
path: root/app/views/snippets
diff options
context:
space:
mode:
authorPhil Hughes <me@iamphill.com>2017-07-25 11:56:41 +0100
committerPhil Hughes <me@iamphill.com>2017-07-25 11:56:41 +0100
commit205090fcfb741884215723281dfb0afb56efbbfb (patch)
treeba1e4ffdeb5757e055dcc862d8d022eb4c48d62d /app/views/snippets
parente43bda0ebb56991f9f128946fefed375a695eac1 (diff)
downloadgitlab-ce-205090fcfb741884215723281dfb0afb56efbbfb.tar.gz
Removed inline JS in shared HAML files
Diffstat (limited to 'app/views/snippets')
-rw-r--r--app/views/snippets/_snippets.html.haml6
1 files changed, 1 insertions, 5 deletions
diff --git a/app/views/snippets/_snippets.html.haml b/app/views/snippets/_snippets.html.haml
index ac3701233ad..dfea8b40bd8 100644
--- a/app/views/snippets/_snippets.html.haml
+++ b/app/views/snippets/_snippets.html.haml
@@ -1,4 +1,3 @@
-- remote = local_assigns.fetch(:remote, false)
- link_project = local_assigns.fetch(:link_project, false)
.snippets-list-holder
@@ -8,7 +7,4 @@
%li
.nothing-here-block Nothing here.
- = paginate @snippets, theme: 'gitlab', remote: remote
-
-:javascript
- gl.SnippetsList();
+ = paginate @snippets, theme: 'gitlab'