Fix author's note slider

This commit is contained in:
Gnome Ann
2022-04-26 17:29:18 -04:00
parent ee8ced2f5f
commit 02e4e6be1e
2 changed files with 3 additions and 3 deletions

View File

@ -2139,10 +2139,10 @@ $(document).ready(function(){
} else if(msg.cmd == "updateanotedepth") { } else if(msg.cmd == "updateanotedepth") {
// Send current Author's Note depth value to input // Send current Author's Note depth value to input
anote_slider.val(parseInt(msg.data)); anote_slider.val(parseInt(msg.data));
anote_labelcur.val(msg.data); anote_labelcur.html(msg.data);
} else if(msg.cmd == "setlabelanotedepth") { } else if(msg.cmd == "setlabelanotedepth") {
// Update setting label with value from server // Update setting label with value from server
anote_labelcur.val(msg.data); anote_labelcur.html(msg.data);
} else if(msg.cmd == "getanote") { } else if(msg.cmd == "getanote") {
// Request contents of Author's Note field // Request contents of Author's Note field
var txt = anote_input.val(); var txt = anote_input.val();

View File

@ -17,7 +17,7 @@
<script src="static/bootstrap.min.js"></script> <script src="static/bootstrap.min.js"></script>
<script src="static/bootstrap-toggle.min.js"></script> <script src="static/bootstrap-toggle.min.js"></script>
<script src="static/rangy-core.min.js"></script> <script src="static/rangy-core.min.js"></script>
<script src="static/application.js?ver=1.17c"></script> <script src="static/application.js?ver=1.17d"></script>
</head> </head>
<body> <body>
<input type="file" id="remote-save-select" accept="application/json" style="display:none"> <input type="file" id="remote-save-select" accept="application/json" style="display:none">