some updates from the explorer.lbry.io branch
This commit is contained in:
parent
1d9dbb802b
commit
e7e444f84a
1 changed files with 24 additions and 0 deletions
|
@ -34,6 +34,30 @@
|
|||
<!-- End Analytics Code -->
|
||||
<?php endif; ?>
|
||||
|
||||
<<<<<<< HEAD
|
||||
=======
|
||||
<script type="text/javascript">
|
||||
// handle coinomi and lbry app urls
|
||||
var hashpart = window.location.hash;
|
||||
if (hashpart.length > 3) {
|
||||
hashpart = hashpart.substring(3);
|
||||
var txhash = null;
|
||||
if (hashpart.indexOf('?id=') > -1) {
|
||||
txhash = hashpart.substring(hashpart.indexOf('?id=') + 4);
|
||||
} else {
|
||||
var parts = hashpart.split('/');
|
||||
if (parts.length > 1) {
|
||||
txhash = parts[1];
|
||||
}
|
||||
}
|
||||
|
||||
if (txhash && $.trim(txhash.trim).length > 0) {
|
||||
window.location.href = '/tx/' + txhash;
|
||||
}
|
||||
}
|
||||
</script>
|
||||
|
||||
>>>>>>> 04802c3... removed unnecessary alert
|
||||
<?php echo $this->fetch('meta') ?>
|
||||
<?php echo $this->fetch('css') ?>
|
||||
<?php echo $this->fetch('script') ?>
|
||||
|
|
Loading…
Reference in a new issue