From 91cd6cffc2205ddb4c93485ab1b1ad96d184c8f7 Mon Sep 17 00:00:00 2001 From: divdeploy Date: Sat, 6 Apr 2024 01:32:39 +0800 Subject: [PATCH] chore: fix some comments Signed-off-by: divdeploy --- CONTRIBUTORS.md | 1 + client/src/includes/tabs.js | 2 +- wagtail/admin/static_src/wagtailadmin/js/vendor/tag-it.js | 2 +- 3 files changed, 3 insertions(+), 2 deletions(-) diff --git a/CONTRIBUTORS.md b/CONTRIBUTORS.md index cd79ea3feb..691a77a63e 100644 --- a/CONTRIBUTORS.md +++ b/CONTRIBUTORS.md @@ -809,6 +809,7 @@ * Georgios Roumeliotis * David Buxton * Abdelrahman Hamada +* Divdeploy ## Translators diff --git a/client/src/includes/tabs.js b/client/src/includes/tabs.js index f8db67d280..ad4a277974 100644 --- a/client/src/includes/tabs.js +++ b/client/src/includes/tabs.js @@ -1,7 +1,7 @@ /** * All tabs and tab content must be nested in an element with the data-tab attribute * All tab buttons need the role="tab" attr and an href with the tab content ID - * Tab contents need to have the role="tabpanel" attribute and and ID attribute that matches the href of the tab link. + * Tab contents need to have the role="tabpanel" attribute and ID attribute that matches the href of the tab link. * Tab buttons should also be wrapped in an element with the role="tablist" attribute * Use the attribute data-tab-trigger on an Anchor link and set the href to the #ID of the tab you would like to trigger */ diff --git a/wagtail/admin/static_src/wagtailadmin/js/vendor/tag-it.js b/wagtail/admin/static_src/wagtailadmin/js/vendor/tag-it.js index 3c5b787c92..5a33303131 100755 --- a/wagtail/admin/static_src/wagtailadmin/js/vendor/tag-it.js +++ b/wagtail/admin/static_src/wagtailadmin/js/vendor/tag-it.js @@ -51,7 +51,7 @@ // When enabled, forces users to create new tags through autocomplete autocompleteOnly: false, - // When enabled, quotes are unneccesary for inputting multi-word tags. + // When enabled, quotes are unnecessary for inputting multi-word tags. allowSpaces: false, // The below options are for using a single field instead of several