Sfoglia il codice sorgente

chore: fix some comments

Signed-off-by: divdeploy <chenguangxue@outlook.com>
divdeploy 1 anno fa
parent
commit
91cd6cffc2

+ 1 - 0
CONTRIBUTORS.md

@@ -809,6 +809,7 @@
 * Georgios Roumeliotis
 * David Buxton
 * Abdelrahman Hamada
+* Divdeploy
 
 ## Translators
 

+ 1 - 1
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
  */

+ 1 - 1
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