Skip to content

Commit

Permalink
Apply prettier changes
Browse files Browse the repository at this point in the history
  • Loading branch information
lee-to authored and github-actions[bot] committed Jan 10, 2025
1 parent 1b57953 commit 5744f5a
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions src/UI/resources/js/Request/Core.js
Original file line number Diff line number Diff line change
Expand Up @@ -57,9 +57,10 @@ export default function request(
selectors.forEach(function (selector) {
let elements = document.querySelectorAll(selector)
elements.forEach(element => {
element.innerHTML = data.html && typeof data.html === 'object'
? data.html[selector] ?? data.html
: data.html ?? data;
element.innerHTML =
data.html && typeof data.html === 'object'
? (data.html[selector] ?? data.html)
: (data.html ?? data)
})
})
}
Expand Down

0 comments on commit 5744f5a

Please sign in to comment.