autocomplete: update html data attributes.

* Remove the `source` and `weight` html data attributes (no longer used).
* Make the `type` html data attribute properly indicate the completion
  type. Valid types: `tag`, `tag-alias`, `tag-abbreviation`,
  `tag-autocorrect`, `tag-other-name`.
This commit is contained in:
evazion
2020-12-14 17:40:41 -06:00
parent c02c31b966
commit 4cdaf7bcdf
3 changed files with 9 additions and 9 deletions

View File

@@ -22,7 +22,7 @@
color: var(--autocomplete-arrow-color);
}
a.tag-type-autocorrect .autocomplete-antecedent {
li[data-autocomplete-type="tag-autocorrect"] .autocomplete-antecedent {
text-decoration: dotted underline;
}
}