mirror of
https://github.com/OneKeyHQ/bip39.git
synced 2026-05-15 21:25:02 +00:00
fix: load footer by inline js on deployment
This commit is contained in:
+1
-8
@@ -1476,14 +1476,7 @@
|
||||
<div id="onekey-portal-footer">
|
||||
</div>
|
||||
|
||||
<script>
|
||||
fetch('/footer/en.html')
|
||||
.then(response => response.text())
|
||||
.then(data => {
|
||||
document.getElementById('onekey-portal-footer').attachShadow({ mode: 'open' }).innerHTML = data;
|
||||
})
|
||||
.catch(console.error);
|
||||
</script>
|
||||
<script src="js/footer.js"></script>
|
||||
|
||||
<script type="text/template" id="address-row-template">
|
||||
<tr>
|
||||
|
||||
Reference in New Issue
Block a user