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