mirror of
https://0xacab.org/sutty/sutty
synced 2024-11-15 09:21:41 +00:00
parent
891bb4db3f
commit
85efaf988a
1 changed files with 1 additions and 1 deletions
|
@ -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':
|
||||
|
|
Loading…
Reference in a new issue