diff --git a/assets/js/when-ready.js b/assets/js/when-ready.js index 2201819c..b17e247b 100644 --- a/assets/js/when-ready.js +++ b/assets/js/when-ready.js @@ -2,10 +2,10 @@ * Functions to execute when the DOM is ready */ -import { whenReady } from './utils/dom'; +import { whenReady } from './utils/dom'; -import { showOwnedComments } from './communications/comment'; -import { showOwnedPosts } from './communications/post'; +import { showOwnedComments } from './communications/comment'; +import { showOwnedPosts } from './communications/post'; import { listenAutocomplete } from './autocomplete'; import { loadBooruData } from './booru'; @@ -35,7 +35,7 @@ import { setupToolbar } from './markdowntoolbar'; import { hideStaffTools } from './staffhider'; import { pollOptionCreator } from './poll'; import { warnAboutPMs } from './pmwarning'; -import { imageSourcesCreator } from './sources.js'; +import { imageSourcesCreator } from './sources'; whenReady(() => { diff --git a/priv/repo/structure.sql b/priv/repo/structure.sql index 0bf866c2..47ea8bde 100644 --- a/priv/repo/structure.sql +++ b/priv/repo/structure.sql @@ -842,10 +842,9 @@ ALTER SEQUENCE public.image_intensities_id_seq OWNED BY public.image_intensities -- CREATE TABLE public.image_sources( - image_id bigint NOT NULL, - source character varying(255) NOT NULL, - CONSTRAINT image_sources_source_check CHECK (((source)::text ~* '^https?://'::text -) ) + image_id bigint NOT NULL, + source character varying(255) NOT NULL, + CONSTRAINT image_sources_source_check CHECK (((source)::text ~* '^https?://'::text)) );