From ff3194225ea2eb3340740242dd97d5795b7949d0 Mon Sep 17 00:00:00 2001 From: Usbac Date: Sat, 7 Sep 2024 15:11:11 +0200 Subject: [PATCH] Rename char-count attribute to data-char-count --- app/views/admin/link.php | 2 +- app/views/admin/page.php | 8 ++++---- app/views/admin/post.php | 10 +++++----- app/views/admin/settings.php | 8 ++++---- app/views/admin/tag.php | 8 ++++---- app/views/admin/user.php | 2 +- public/assets/js/admin.js | 2 +- 7 files changed, 20 insertions(+), 20 deletions(-) diff --git a/app/views/admin/link.php b/app/views/admin/link.php index 1f6d73a..7ae895a 100755 --- a/app/views/admin/link.php +++ b/app/views/admin/link.php @@ -25,7 +25,7 @@
- +
diff --git a/app/views/admin/page.php b/app/views/admin/page.php index 83e4098..79c498b 100755 --- a/app/views/admin/page.php +++ b/app/views/admin/page.php @@ -27,7 +27,7 @@
- +
@@ -38,7 +38,7 @@
- +
@@ -78,11 +78,11 @@
- +
- +
diff --git a/app/views/admin/post.php b/app/views/admin/post.php index fb14ac3..a952bf2 100755 --- a/app/views/admin/post.php +++ b/app/views/admin/post.php @@ -27,7 +27,7 @@
- +
@@ -42,12 +42,12 @@
- +
- +
@@ -98,11 +98,11 @@
- +
- +
diff --git a/app/views/admin/settings.php b/app/views/admin/settings.php index 008f646..813dea7 100755 --- a/app/views/admin/settings.php +++ b/app/views/admin/settings.php @@ -40,7 +40,7 @@
- +
@@ -92,15 +92,15 @@
- +
- +
- +
diff --git a/app/views/admin/tag.php b/app/views/admin/tag.php index 182ba7e..e5e310f 100755 --- a/app/views/admin/tag.php +++ b/app/views/admin/tag.php @@ -29,11 +29,11 @@
- +
- +
@@ -45,11 +45,11 @@
- +
- +
diff --git a/app/views/admin/user.php b/app/views/admin/user.php index dbc7178..255ab0c 100755 --- a/app/views/admin/user.php +++ b/app/views/admin/user.php @@ -55,7 +55,7 @@
- +
diff --git a/public/assets/js/admin.js b/public/assets/js/admin.js index f190fc5..9ff31a3 100755 --- a/public/assets/js/admin.js +++ b/public/assets/js/admin.js @@ -192,7 +192,7 @@ class Form { } static initCharCounters() { - document.querySelectorAll('*[char-count]').forEach(input => { + document.querySelectorAll('*[data-char-count]').forEach(input => { let count_el = document.createElement('span'); count_el.classList.add('char-counter');