IndexedDB open sometime hangs forever

This commit is contained in:
Cohee
2023-08-14 19:40:31 +03:00
parent 8c759e87cf
commit edcce96a6e
2 changed files with 6 additions and 4 deletions

View File

@@ -457,7 +457,7 @@ $(document).ready(function () {
saveSettingsDebounced();
});
$("#phrase_rep_pen_novel", function () {
$("#phrase_rep_pen_novel").on('change', function () {
const val = $("#phrase_rep_pen_novel").find(":selected").val();
nai_settings.phrase_rep_pen = getPhraseRepPenString(Number(val).toFixed(0));
saveSettingsDebounced();