From 216976247c1bb958f01a0b33c5f457d7fed62a4d Mon Sep 17 00:00:00 2001 From: silverwind Date: Sat, 10 Apr 2021 01:42:38 +0200 Subject: Remove usage of JS globals (#15378) Refactor the exported globals in index.js to JS-initialized event handlers. Co-authored-by: techknowlogick --- templates/repo/issue/view_content/sidebar.tmpl | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) (limited to 'templates/repo/issue/view_content/sidebar.tmpl') diff --git a/templates/repo/issue/view_content/sidebar.tmpl b/templates/repo/issue/view_content/sidebar.tmpl index 872a86e658..30acb839b5 100644 --- a/templates/repo/issue/view_content/sidebar.tmpl +++ b/templates/repo/issue/view_content/sidebar.tmpl @@ -467,8 +467,7 @@
{{if and $.CanCreateIssueDependencies (not $.Repository.IsArchived)}} - + {{svg "octicon-trash" 16}} {{end}} @@ -495,8 +494,7 @@
{{if and $.CanCreateIssueDependencies (not $.Repository.IsArchived)}} - + {{svg "octicon-trash" 16}} {{end}} -- cgit v1.2.3