Skip to content
This repository has been archived by the owner on Jan 1, 2025. It is now read-only.

Commit

Permalink
chore: remove unused createElement
Browse files Browse the repository at this point in the history
  • Loading branch information
ItsSim committed Jan 24, 2024
1 parent 5326d08 commit 45e17a9
Showing 1 changed file with 0 additions and 6 deletions.
6 changes: 0 additions & 6 deletions src/fsolauncher-ui/client.js
Original file line number Diff line number Diff line change
Expand Up @@ -11,12 +11,6 @@ const querySelector = q => document.querySelector( q );
* @returns {NodeListOf<Element>}
*/
const querySelectorAll = q => document.querySelectorAll( q );
/**
* @param {string} q
*
* @returns {Element}
*/
const createElement = q => document.createElement( q );

// Add a hook to make all links open a new window.
window.DOMPurify.addHook( 'afterSanitizeAttributes', node => {
Expand Down

0 comments on commit 45e17a9

Please sign in to comment.