Welcome to mirror list, hosted at ThFree Co, Russian Federation.

gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--app/views/doorkeeper/authorizations/redirect.html.haml5
1 files changed, 3 insertions, 2 deletions
diff --git a/app/views/doorkeeper/authorizations/redirect.html.haml b/app/views/doorkeeper/authorizations/redirect.html.haml
index d2845bbc97a..0643615480a 100644
--- a/app/views/doorkeeper/authorizations/redirect.html.haml
+++ b/app/views/doorkeeper/authorizations/redirect.html.haml
@@ -5,5 +5,6 @@
%a{ :href => redirect_uri } Click here to redirect to #{redirect_uri}
-# haml-lint:enable NoPlainNodes
-:javascript
- window.location= "#{redirect_uri}";
+= javascript_tag do
+ :plain
+ window.location= "#{redirect_uri}";