Skip to content

Commit

Permalink
theme(fix): fix youtube lite component
Browse files Browse the repository at this point in the history
  • Loading branch information
davidsneighbour committed Aug 26, 2024
1 parent 5cd8626 commit bd68b5c
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions assets/js/script.ts
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,10 @@ import './scripts/bs-tooltips.ts';
// @ts-ignore - importing parameters from GoHugo
import * as params from '@params';

// youtube element
import LiteYTEmbed from './lite-yt-embed.js';
customElements.define('lite-youtube', LiteYTEmbed);

// import custom elements
customElements.define("click-effect", ClickSpark);
customElements.define('progress-bar', ProgressBar);
Expand Down

0 comments on commit bd68b5c

Please sign in to comment.