tiny fix for loading localstorage values re + button config options

This commit is contained in:
tim h 2023-12-09 07:57:40 -06:00
parent 2f3c65e28f
commit 89997ac1e1
2 changed files with 6 additions and 4 deletions

View file

@ -1,4 +1,4 @@
<!doctype html>
<!DOCTYPE html>
<html lang="en-US">
<head>
<meta charset="utf-8" />
@ -334,7 +334,7 @@
<br />
<span id="version">
<a href="https://github.com/zero01101/openOutpaint" target="_blank">
v20230831.001
v20231209.001
</a>
<br />
<a
@ -571,7 +571,7 @@
src="js/ui/tool/generic.js?v=3e678e0"
type="text/javascript"></script>
<script src="js/ui/tool/dream.js?v=aa8c906" type="text/javascript"></script>
<script src="js/ui/tool/dream.js?v=c279be2" type="text/javascript"></script>
<script
src="js/ui/tool/maskbrush.js?v=e9bd0eb"
type="text/javascript"></script>

View file

@ -1,4 +1,4 @@
<!doctype html>
<!DOCTYPE html>
<html lang="en-US">
<head>
<meta charset="utf-8" />
@ -259,6 +259,7 @@
: localStorage.getItem(
"openoutpaint/settings.update-prompt-on-more-button"
) === "true";
updatePromptOnMoreButton.checked = _enable_update_prompt_on_more_button;
let _enable_jump_to_1st_new_on_more_button =
localStorage.getItem(
@ -268,6 +269,7 @@
: localStorage.getItem(
"openoutpaint/settings.jump-to-1st-new-on-more-button"
) === "true";
jumpTo1stNewOnMoreButton.checked = _enable_jump_to_1st_new_on_more_button;
writeToLocalStorage();