Skip to content

Commit

Permalink
Fix console error
Browse files Browse the repository at this point in the history
Fixed issue where error logged to console if url not yet retrieved for tomselect.
  • Loading branch information
Neriderc committed Dec 12, 2024
1 parent 6855b43 commit 2325d3b
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions resources/javascript/gvexport.js
Original file line number Diff line number Diff line change
Expand Up @@ -56,6 +56,8 @@ function stopIndiSelectChanged() {
}

function loadXrefList(url, xrefListId, indiListId) {
if (url === '') return false;

let xrefListEl = document.getElementById(xrefListId);
let xref_list = xrefListEl.value.trim();
xrefListEl.value = xref_list;
Expand Down

0 comments on commit 2325d3b

Please sign in to comment.