Skip to content

Commit

Permalink
Make use of const
Browse files Browse the repository at this point in the history
  • Loading branch information
Quitch committed Aug 2, 2024
1 parent 312d7dd commit ba818b2
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions ui/mods/com.quitch.ai-personality-names/names.js
Original file line number Diff line number Diff line change
Expand Up @@ -8,8 +8,8 @@ function aiPersonalityNames() {
aiPersonalityNamesLoaded = true;

try {
var replaceHtml = function (htmlClass, file) {
var path = "coui://ui/mods/com.quitch.ai-personality-names/";
const replaceHtml = function (htmlClass, file) {
const path = "coui://ui/mods/com.quitch.ai-personality-names/";
$(htmlClass).replaceWith(loadHtml(path + file));
};

Expand Down

0 comments on commit ba818b2

Please sign in to comment.