mirror of
https://github.com/OneKeyHQ/bip39.git
synced 2026-04-05 18:43:47 +00:00
Merge pull request #5 from Yggdrasilqh/feat-onekey-footer
fix: use internal footer resources
This commit is contained in:
@@ -1426,14 +1426,7 @@
|
||||
<div id="onekey-portal-footer">
|
||||
</div>
|
||||
|
||||
<script>
|
||||
fetch('https://onekey.so/zh_CN/internal/footer/')
|
||||
.then(response => response.text())
|
||||
.then(data => {
|
||||
document.getElementById('onekey-portal-footer').attachShadow({ mode: 'open' }).innerHTML = data;
|
||||
})
|
||||
.catch(console.error);
|
||||
</script>
|
||||
<script src="js/footer-zh.js"></script>
|
||||
|
||||
<script type="text/template" id="address-row-template">
|
||||
<tr>
|
||||
|
||||
@@ -1476,14 +1476,7 @@
|
||||
<div id="onekey-portal-footer">
|
||||
</div>
|
||||
|
||||
<script>
|
||||
fetch('https://onekey.so/internal/footer/')
|
||||
.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>
|
||||
|
||||
1283
src/js/footer-zh.js
Normal file
1283
src/js/footer-zh.js
Normal file
File diff suppressed because it is too large
Load Diff
1289
src/js/footer.js
Normal file
1289
src/js/footer.js
Normal file
File diff suppressed because it is too large
Load Diff
Reference in New Issue
Block a user