0
Fork 0
mirror of https://codeberg.org/forgejo/forgejo.git synced 2024-12-23 07:43:18 -05: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: [{