]> source.dussan.org Git - gitea.git/commitdiff
fix bug when a read perm user to edit his issue (#5516) (#5534)
authorLunny Xiao <xiaolunwen@gmail.com>
Wed, 12 Dec 2018 17:37:22 +0000 (01:37 +0800)
committertechknowlogick <hello@techknowlogick.com>
Wed, 12 Dec 2018 17:37:22 +0000 (12:37 -0500)
templates/base/footer.tmpl

index 0dd8871525c6d3d033280a4ddbd38b72f58ad177..a573445f87ccd2bf0fbb8d17ca44408f50e796e6 100644 (file)
@@ -51,8 +51,6 @@
 {{end}}
 {{if .RequireTribute}}
        <script src="{{AppSubUrl}}/vendor/plugins/tribute/tribute.min.js"></script>
-
-       {{if .Assignees}}
        <script>
                var issuesTribute = new Tribute({
                        values: [
@@ -73,7 +71,6 @@
                })
                issuesTribute.attach(document.getElementById('content'))
        </script>
-       {{end}}
        <script>
                var emojiTribute = new Tribute({
                        collection: [{