Arc
5 years ago
committed by
GitHub
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with
13 additions and
0 deletions
-
lnbits/extensions/withdraw/templates/withdraw/index.html
|
@ -72,6 +72,8 @@ |
|
|
</ol> |
|
|
</ol> |
|
|
<br /><br /> |
|
|
<br /><br /> |
|
|
</section> |
|
|
</section> |
|
|
|
|
|
<div class='row'><div class='col-md-6'><div id="erralert"></div></div></div> |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
<!-- Main content --> |
|
|
<!-- Main content --> |
|
|
<section class="content"> |
|
|
<section class="content"> |
|
@ -213,6 +215,17 @@ |
|
|
const user_fau = window.user_fau |
|
|
const user_fau = window.user_fau |
|
|
console.log(user_fau) |
|
|
console.log(user_fau) |
|
|
|
|
|
|
|
|
|
|
|
function erralert(){ |
|
|
|
|
|
|
|
|
|
|
|
var myUrlPattern = '.onion'; |
|
|
|
|
|
if (window.location.hostname.indexOf("168") > 3 || location.hostname === "localhost" || location.hostname === "127.0.0.1" || n > 2 || window.location.hostname.indexOf(myUrlPattern) >= 0){ |
|
|
|
|
|
document.getElementById("erralert").innerHTML = "<div class='alert alert-danger alert-dismissable'>"+ |
|
|
|
|
|
"<h4>*Running LNURLw locally will likely need an SSH tunnel, or DNS magic."+ |
|
|
|
|
|
"</h4></div>"; |
|
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
} |
|
|
|
|
|
erralert(); |
|
|
|
|
|
|
|
|
function drawChart(user_fau) { |
|
|
function drawChart(user_fau) { |
|
|
var transactionsHTML = '' |
|
|
var transactionsHTML = '' |
|
|