Skip to content

Commit

Permalink
Apply the review suggestions
Browse files Browse the repository at this point in the history
  • Loading branch information
MizukiTemma committed Dec 17, 2024
1 parent b0c0dda commit b0a9ee8
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion integreat_cms/static/src/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@ import "./js/grids/toggle-grid-checkbox";
import "./js/chat/send-chat-message";
import "./js/chat/delete-chat-message";

import "./js/poi_box";
import "./js/poi-box";
import "./js/events/conditional-fields";
import "./js/events/auto-complete";

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -156,7 +156,7 @@ const removePoi = () => {
// Clear the poi form
hidePoiFormWidget();
console.debug("Removed POI data");
document.getElementById("poi-address-container").getElementsByTagName("input")[0].value = "-1";
(document.getElementById("id_location") as HTMLInputElement).value = "-1";
document.getElementById("info-location-mandatory")?.classList.remove("hidden");
};

Expand Down

0 comments on commit b0a9ee8

Please sign in to comment.