summaryrefslogtreecommitdiff
path: root/app/views/errors/access_denied.html.haml
diff options
context:
space:
mode:
Diffstat (limited to 'app/views/errors/access_denied.html.haml')
-rw-r--r--app/views/errors/access_denied.html.haml4
1 files changed, 2 insertions, 2 deletions
diff --git a/app/views/errors/access_denied.html.haml b/app/views/errors/access_denied.html.haml
index 46931b5932d..1ed7b56db1d 100644
--- a/app/views/errors/access_denied.html.haml
+++ b/app/views/errors/access_denied.html.haml
@@ -10,7 +10,7 @@
= message
%p
= s_('403|Please contact your GitLab administrator to get permission.')
- .action-container.js-go-back{ style: 'display: none' }
- %a{ href: 'javascript:history.back()', class: 'btn btn-success' }
+ .action-container.js-go-back{ hidden: true }
+ %button{ type: 'button', class: 'btn btn-success' }
= s_('Go Back')
= render "errors/footer"