mirror of
https://0xacab.org/sutty/sutty
synced 2024-11-15 11:31: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')
|
const flash = document.querySelector<HTMLElement>('.js-flash')
|
||||||
|
|
||||||
if (flash) {
|
if (flash) {
|
||||||
const keys = JSON.parse(flash.dataset.keys || '')
|
const keys = JSON.parse(flash.dataset.keys || '[]')
|
||||||
|
|
||||||
switch (flash.dataset.target) {
|
switch (flash.dataset.target) {
|
||||||
case 'editor':
|
case 'editor':
|
||||||
|
|
Loading…
Reference in a new issue