Skip to content

Commit ba818b2

Browse files
committed
Make use of const
1 parent 312d7dd commit ba818b2

File tree

1 file changed

+2
-2
lines changed
  • ui/mods/com.quitch.ai-personality-names

1 file changed

+2
-2
lines changed

ui/mods/com.quitch.ai-personality-names/names.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,8 +8,8 @@ function aiPersonalityNames() {
88
aiPersonalityNamesLoaded = true;
99

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

0 commit comments

Comments
 (0)