Skip to content

Commit

Permalink
Docstrings, added info to input field"
Browse files Browse the repository at this point in the history
  • Loading branch information
Haxxer committed Sep 1, 2021
1 parent 7b0a246 commit 3944a24
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@ Gets all tags from a given object
```
@param {object} inObject The object get tags from
@returns {array} The tags on the objects in an array
@returns {array} An array of tags from the object
```

### Set Tags
Expand Down
4 changes: 2 additions & 2 deletions scripts/module.js
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ const Tagger = {
* Gets all tags from a given object
*
* @param {object} inObject The object get tags from
* @returns {array} The tags on the objects in an array
* @returns {array} An array of tags from the object
*/
getTags(inObject) {
if (inObject?.document) inObject = inObject.document;
Expand Down Expand Up @@ -206,7 +206,7 @@ const Tagger = {
if (!obj) return;
let tags = Tagger.getTags(obj)
let html = `<fieldset style="margin: 3px 0;">
<legend>Tags</legend>
<legend>Tags (separated by commas)</legend>
<div class="form-group">
<input name="flags.${MODULE_NAME}.${FLAG_NAME}" type="text" value="${tags.join(', ')}">
</div>
Expand Down

0 comments on commit 3944a24

Please sign in to comment.