mirror of
https://github.com/jwinterm/node-tip-bot.git
synced 2026-10-17 05:41:42 +02:00
fix user address bug on web interface
This commit is contained in:
@@ -107,12 +107,7 @@
|
|||||||
$('#userinfo_address_list').empty();
|
$('#userinfo_address_list').empty();
|
||||||
$.getJSON('/user/' + user, function(data) {
|
$.getJSON('/user/' + user, function(data) {
|
||||||
$.each(data.addresses, function(key, val) {
|
$.each(data.addresses, function(key, val) {
|
||||||
$('#userinfo_address_list').append('
|
$('#userinfo_address_list').append('<tr><td>' + (key + 1) + '</td><td>' + val.address + '</td><td>' + val.amount + '</td></tr>');
|
||||||
<tr>
|
|
||||||
<td>' + (key + 1) + '</td>
|
|
||||||
<td>' + val.address + '</td>
|
|
||||||
<td>' + val.amount + '</td>
|
|
||||||
</tr>');
|
|
||||||
});
|
});
|
||||||
});
|
});
|
||||||
$('#userinfo_modal').modal('show');
|
$('#userinfo_modal').modal('show');
|
||||||
|
|||||||
Reference in New Issue
Block a user