1
0
Fork 0
forked from srxl/akkoma-fe

Actually actually fix image url.

This commit is contained in:
eal 2017-09-19 22:58:15 +03:00
parent f4b1319eff
commit 447ec91176
2 changed files with 2 additions and 2 deletions

View file

@ -72,7 +72,7 @@ const PostStatusForm = {
// eslint-disable-next-line camelcase
screen_name: `:${shortcode}:`,
name: '',
img: image-url
img: image_url
}))
} else {
return false

View file

@ -108,7 +108,7 @@ window.fetch('/static/emoji.txt')
.then((csv) => {
const emoji = csv.split('\n').map((row) => {
const values = row.split(', ')
return { shortcode: values[0], image-url: values[1] }
return { shortcode: values[0], image_url: values[1] }
})
store.dispatch('setOption', { name: 'emoji', value: emoji })
})