make table display actually work
This commit is contained in:
parent
f9834d929b
commit
0f78368040
@ -38,8 +38,10 @@ window.plugin.compAPStats.setupCallback = function() {
|
|||||||
|
|
||||||
window.plugin.compAPStats.onPositionMove = function() {
|
window.plugin.compAPStats.onPositionMove = function() {
|
||||||
var result = window.plugin.compAPStats.compAPStats();
|
var result = window.plugin.compAPStats.compAPStats();
|
||||||
$('#available_ap_display').html("Available AP in this area:<br/> Enlightened:\t" +
|
$('#available_ap_display').html('Available AP in this area:<table>'
|
||||||
digits(result[1]) + "<br/> Resistance:\t" + digits(result[0]));
|
+ '<tr><td>Enlightened:</td><td style="text-align:right">' + digits(result[1]) + '</td></tr>'
|
||||||
|
+ '<tr><td>Resistance:</td><td style="text-align:right">' + digits(result[0]) + '</td></tr>'
|
||||||
|
+ '</table>');
|
||||||
}
|
}
|
||||||
|
|
||||||
window.plugin.compAPStats.compAPStats = function() {
|
window.plugin.compAPStats.compAPStats = function() {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user