fix image preview
This commit is contained in:
parent
2c071a8f60
commit
262919a8aa
1 changed files with 5 additions and 1 deletions
6
web.go
6
web.go
|
@ -1086,8 +1086,12 @@ func submithonk(w http.ResponseWriter, r *http.Request) {
|
|||
}
|
||||
var d Donk
|
||||
d.FileID = fileid
|
||||
d.XID = xid
|
||||
d.Desc = desc
|
||||
d.URL = url
|
||||
d.Local = true
|
||||
honk.Donks = append(honk.Donks, &d)
|
||||
donkxid = d.XID
|
||||
donkxid = xid
|
||||
}
|
||||
} else {
|
||||
xid := donkxid
|
||||
|
|
Loading…
Reference in a new issue