Skip to content

Commit

Permalink
2024111401
Browse files Browse the repository at this point in the history
  • Loading branch information
Spectrollay committed Nov 17, 2024
1 parent 9b4bd8e commit 1a0cd87
Show file tree
Hide file tree
Showing 4 changed files with 5 additions and 4 deletions.
4 changes: 2 additions & 2 deletions Verification/file-hashes.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"404.html": "c90e52a6bdcf2160b36d22a686e9fbb4",
"advanced\\debug.html": "60219467e608653e5efe36c3a14e7892",
"advanced\\settings.html": "62b6f7013263ac9b3a32f938ee7bb08e",
"advanced\\settings.html": "089ef5c5c7f18691eea4f7cdeedec480",
"advanced\\status.html": "4219ec259463a28bfa9062a76ca99eb1",
"default\\coming_soon.html": "87be910bd10a657a96b0eb7144d4cc3a",
"default\\error_default.html": "561809093da4c8399075b0559a100751",
Expand Down Expand Up @@ -137,7 +137,7 @@
"issue_tracker\\index.html": "6d0a8265d15752ff9fd8d6e91f1ab9dc",
"javascript\\accessibility.js": "75c72c24f9e23368537e9f41bf026aa2",
"javascript\\advanced.js": "d3e57e7df44c0fd9091aa6b4ccc76a6c",
"javascript\\custom_elements.js": "6b20a64a29180c0bd7f72b261d8dd41c",
"javascript\\custom_elements.js": "6ddfbbee8fedcca6190e8367c27092a1",
"javascript\\editions.js": "7a4c6a65ac1f8a7c82a8004d175c186c",
"javascript\\public_define.js": "f326cdd09fabc39413277c8d2b6e446d",
"javascript\\public_script.js": "f55c2fdcf07d1802865236bc54424bfd",
Expand Down
2 changes: 1 addition & 1 deletion Verification/project-hash.json
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
{
"projectHash": "209b3edb7977d9767755dcd80072b8fc"
"projectHash": "1534f66274f1ff53f68d125af95703dc"
}
2 changes: 1 addition & 1 deletion advanced/settings.html
Original file line number Diff line number Diff line change
Expand Up @@ -387,7 +387,7 @@
</modal_content>
<modal_textfield_area>
<modal_textfield_title>请输入"我知道我在做什么"以继续</modal_textfield_title>
<div class="text_field_container" id="check_input">
<div class="text_field_container do_not_save" id="check_input">
<text-field hint="在此输入.." single-line="true" status="enabled" type="all"></text-field>
</div>
</modal_textfield_area>
Expand Down
1 change: 1 addition & 0 deletions javascript/custom_elements.js
Original file line number Diff line number Diff line change
Expand Up @@ -944,6 +944,7 @@ class TextField extends HTMLElement {
const storageKey = '(/minecraft_repository_test/)text_field_value';
const storedData = JSON.parse(localStorage.getItem(storageKey)) || {};
const currentValue = this.inputField.value;
if (this.classList.contains("do_not_save")) return;
if (currentValue.length === 0) {
delete storedData[this.classList[0]];
} else {
Expand Down

0 comments on commit 1a0cd87

Please sign in to comment.