add saving draft to localStorage
This commit is contained in:
@@ -3,6 +3,10 @@ export const b = {
|
||||
}
|
||||
|
||||
export function enhance(_, __, el) {
|
||||
if (el === undefined) { // nothing to enhance but init still runs
|
||||
return;
|
||||
}
|
||||
|
||||
if (el.classList.contains('js-only')) {
|
||||
el.classList.remove('js-only');
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user