mirror of
https://github.com/openfoodfoundation/openfoodnetwork
synced 2026-01-27 21:06:49 +00:00
Unfortunately it doesn't work for Angular forms. I'm not sure if there's a way to trigger an angular submit.
20 lines
433 B
JavaScript
20 lines
433 B
JavaScript
import "controllers";
|
|
import "channels";
|
|
import "@hotwired/turbo";
|
|
import "../js/hotkeys";
|
|
import "../js/mrujs";
|
|
import "../js/matomo";
|
|
import "../js/moment";
|
|
|
|
import bigDecimal from "js-big-decimal";
|
|
window.bigDecimal = bigDecimal;
|
|
|
|
import debounced from "debounced";
|
|
debounced.initialize({ input: { wait: 300 } });
|
|
|
|
import Trix from "trix";
|
|
|
|
document.addEventListener("trix-file-accept", (event) => {
|
|
event.preventDefault();
|
|
});
|