mirror of
https://github.com/storytold/spark.git
synced 2026-10-09 00:09:53 +00:00
Copy static files to docs/site directory
This commit is contained in:
+2
-2
@@ -221,7 +221,7 @@
|
||||
panel.querySelectorAll('.example-link').forEach((link) => {
|
||||
link.addEventListener('click', (e) => {
|
||||
e.preventDefault();
|
||||
const path = link.getAttribute('href').substring(1);
|
||||
const path = link.getAttribute('href');
|
||||
iframe.src = path;
|
||||
|
||||
console.log('path:', path);
|
||||
@@ -286,7 +286,7 @@
|
||||
mobilePanel.querySelectorAll('.example-link').forEach(link => {
|
||||
link.addEventListener('click', (e) => {
|
||||
e.preventDefault();
|
||||
const path = link.getAttribute('href').substring(1);
|
||||
const path = link.getAttribute('href');
|
||||
|
||||
iframe.src = path;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user