5
0
Fork 0
mirror of https://0xacab.org/sutty/sutty synced 2024-11-15 09:51:41 +00:00

un array vacío por defecto

closes #774
This commit is contained in:
f 2021-03-23 11:35:49 -03:00
parent 891bb4db3f
commit 85efaf988a

View file

@ -281,7 +281,7 @@ document.addEventListener("turbolinks:load", () => {
const flash = document.querySelector<HTMLElement>('.js-flash')
if (flash) {
const keys = JSON.parse(flash.dataset.keys || '')
const keys = JSON.parse(flash.dataset.keys || '[]')
switch (flash.dataset.target) {
case 'editor':