mirror of
https://github.com/shoelace-style/webawesome.git
synced 2026-01-12 04:09:12 +00:00
fix source flavors (#1388)
* fix load flavor * Update docs/assets/scripts/code-previews.js * fix previews --------- Co-authored-by: Cory LaViska <cory@abeautifulsite.net>
This commit is contained in:
@@ -1,4 +1,4 @@
|
||||
(() => {
|
||||
function run() {
|
||||
function convertModuleLinks(html) {
|
||||
html = html
|
||||
.replace(/@shoelace-style\/shoelace/g, `https://cdn.skypack.dev/@shoelace-style/shoelace@${shoelaceVersion}`)
|
||||
@@ -243,4 +243,7 @@
|
||||
form.remove();
|
||||
}
|
||||
});
|
||||
})();
|
||||
}
|
||||
|
||||
run();
|
||||
document.addEventListener('turbo:load', run);
|
||||
|
||||
Reference in New Issue
Block a user