about summary refs log tree commit diff
path: root/app/javascript/flavours/glitch
diff options
context:
space:
mode:
authorClaire <claire.github-309c@sitedethib.com>2022-10-11 11:51:15 +0200
committerClaire <claire.github-309c@sitedethib.com>2022-10-11 12:15:08 +0200
commit0f4a4d7527433eef6e95c51edea47bcfa33bbf7c (patch)
tree5b936105aa4f776356921b30953f3b25cd5d7cf4 /app/javascript/flavours/glitch
parent7097a459be125f0c18bc4c2c77a00ba92c408bf9 (diff)
Move some modules from flavours/glitch/utils/ back to flavours/glitch/features/compose/util/
Diffstat (limited to 'app/javascript/flavours/glitch')
-rw-r--r--app/javascript/flavours/glitch/features/compose/components/compose_form.js2
-rw-r--r--app/javascript/flavours/glitch/features/compose/util/counter.js (renamed from app/javascript/flavours/glitch/utils/counter.js)0
-rw-r--r--app/javascript/flavours/glitch/features/compose/util/url_regex.js (renamed from app/javascript/flavours/glitch/utils/url_regex.js)0
3 files changed, 1 insertions, 1 deletions
diff --git a/app/javascript/flavours/glitch/features/compose/components/compose_form.js b/app/javascript/flavours/glitch/features/compose/components/compose_form.js
index 4fc8f0884..3a9fa01e1 100644
--- a/app/javascript/flavours/glitch/features/compose/components/compose_form.js
+++ b/app/javascript/flavours/glitch/features/compose/components/compose_form.js
@@ -11,7 +11,7 @@ import UploadFormContainer from '../containers/upload_form_container';
 import WarningContainer from '../containers/warning_container';
 import { isMobile } from 'flavours/glitch/utils/is_mobile';
 import ImmutablePureComponent from 'react-immutable-pure-component';
-import { countableText } from 'flavours/glitch/utils/counter';
+import { countableText } from '../util/counter';
 import OptionsContainer from '../containers/options_container';
 import Publisher from './publisher';
 import TextareaIcons from './textarea_icons';
diff --git a/app/javascript/flavours/glitch/utils/counter.js b/app/javascript/flavours/glitch/features/compose/util/counter.js
index 7aa9e87b1..7aa9e87b1 100644
--- a/app/javascript/flavours/glitch/utils/counter.js
+++ b/app/javascript/flavours/glitch/features/compose/util/counter.js
diff --git a/app/javascript/flavours/glitch/utils/url_regex.js b/app/javascript/flavours/glitch/features/compose/util/url_regex.js
index 9c2005c53..9c2005c53 100644
--- a/app/javascript/flavours/glitch/utils/url_regex.js
+++ b/app/javascript/flavours/glitch/features/compose/util/url_regex.js