about summary refs log tree commit diff
path: root/app/javascript/packs
diff options
context:
space:
mode:
Diffstat (limited to 'app/javascript/packs')
-rw-r--r--app/javascript/packs/application.js2
-rw-r--r--app/javascript/packs/public.js4
2 files changed, 3 insertions, 3 deletions
diff --git a/app/javascript/packs/application.js b/app/javascript/packs/application.js
index ea5b9f8f7..ca6b476e1 100644
--- a/app/javascript/packs/application.js
+++ b/app/javascript/packs/application.js
@@ -4,7 +4,7 @@ if (!window.Intl || !Object.assign || !Number.isNaN ||
     !window.Symbol || !Array.prototype.includes) {
   // load polyfills dynamically
   import('../mastodon/polyfills').then(main).catch(e => {
-    console.error(e) // eslint-disable-line no-console
+    console.error(e); // eslint-disable-line no-console
   });
 } else {
   main();
diff --git a/app/javascript/packs/public.js b/app/javascript/packs/public.js
index 3bd7d7cf0..19dd7fdee 100644
--- a/app/javascript/packs/public.js
+++ b/app/javascript/packs/public.js
@@ -96,12 +96,12 @@ document.addEventListener('DOMContentLoaded', () => {
   });
 
   delegate(document, '.account_display_name', 'input', ({ target }) => {
-    const [nameCounter, ] = document.getElementsByClassName('name-counter');
+    const [nameCounter ] = document.getElementsByClassName('name-counter');
     nameCounter.textContent = 30 - length(target.value);
   });
 
   delegate(document, '.account_note', 'input', ({ target }) => {
-    const [noteCounter, ] = document.getElementsByClassName('note-counter');
+    const [noteCounter ] = document.getElementsByClassName('note-counter');
     noteCounter.textContent = 160 - length(target.value);
   });
 });