1
1
mirror of https://github.com/go-gitea/gitea synced 2024-12-23 09:04:26 +00:00

fix bug when a read perm user to edit his issue (#5516)

This commit is contained in:
Lunny Xiao 2018-12-12 23:17:25 +08:00 committed by techknowlogick
parent af6bce3ad5
commit f0374ad1ad

View File

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