add missing player name resolving calls to scoreboard and portals-list
This commit is contained in:
parent
13475d94a3
commit
750b9aca99
@ -2,7 +2,7 @@
|
|||||||
// @id iitc-plugin-portals-list@teo96
|
// @id iitc-plugin-portals-list@teo96
|
||||||
// @name IITC plugin: show list of portals
|
// @name IITC plugin: show list of portals
|
||||||
// @category Info
|
// @category Info
|
||||||
// @version 0.0.17.@@DATETIMEVERSION@@
|
// @version 0.0.18.@@DATETIMEVERSION@@
|
||||||
// @namespace https://github.com/jonatkins/ingress-intel-total-conversion
|
// @namespace https://github.com/jonatkins/ingress-intel-total-conversion
|
||||||
// @updateURL @@UPDATEURL@@
|
// @updateURL @@UPDATEURL@@
|
||||||
// @downloadURL @@DOWNLOADURL@@
|
// @downloadURL @@DOWNLOADURL@@
|
||||||
@ -212,10 +212,13 @@ window.plugin.portalslist.displayPL = function() {
|
|||||||
$('#portalslist').html(window.plugin.portalslist.portalTable($(this).data('sort'),window.plugin.portalslist.sortOrder,2));
|
$('#portalslist').html(window.plugin.portalslist.portalTable($(this).data('sort'),window.plugin.portalslist.sortOrder,2));
|
||||||
});
|
});
|
||||||
|
|
||||||
|
//run the name resolving process
|
||||||
|
resolvePlayerNames();
|
||||||
|
|
||||||
//debug tools
|
//debug tools
|
||||||
//end = new Date().getTime();
|
//end = new Date().getTime();
|
||||||
//console.log('***** end : ' + end + ' and Elapse : ' + (end - start));
|
//console.log('***** end : ' + end + ' and Elapse : ' + (end - start));
|
||||||
}
|
}
|
||||||
|
|
||||||
window.plugin.portalslist.portalTable = function(sortBy, sortOrder, filter) {
|
window.plugin.portalslist.portalTable = function(sortBy, sortOrder, filter) {
|
||||||
// sortOrder <0 ==> desc, >0 ==> asc, i use sortOrder * -1 to change the state
|
// sortOrder <0 ==> desc, >0 ==> asc, i use sortOrder * -1 to change the state
|
||||||
|
@ -2,7 +2,7 @@
|
|||||||
// @id iitc-plugin-scoreboard@vita10gy
|
// @id iitc-plugin-scoreboard@vita10gy
|
||||||
// @name IITC plugin: show a localized scoreboard.
|
// @name IITC plugin: show a localized scoreboard.
|
||||||
// @category Info
|
// @category Info
|
||||||
// @version 0.1.8.@@DATETIMEVERSION@@
|
// @version 0.1.9.@@DATETIMEVERSION@@
|
||||||
// @namespace https://github.com/jonatkins/ingress-intel-total-conversion
|
// @namespace https://github.com/jonatkins/ingress-intel-total-conversion
|
||||||
// @updateURL @@UPDATEURL@@
|
// @updateURL @@UPDATEURL@@
|
||||||
// @downloadURL @@DOWNLOADURL@@
|
// @downloadURL @@DOWNLOADURL@@
|
||||||
@ -291,6 +291,9 @@ window.plugin.scoreboard.display = function() {
|
|||||||
$(document).on('click', '#players table th', function() {
|
$(document).on('click', '#players table th', function() {
|
||||||
$('#players').html(window.plugin.scoreboard.playerTable($(this).data('sort')));
|
$('#players').html(window.plugin.scoreboard.playerTable($(this).data('sort')));
|
||||||
});
|
});
|
||||||
|
|
||||||
|
//run the name resolving process
|
||||||
|
resolvePlayerNames();
|
||||||
}
|
}
|
||||||
|
|
||||||
window.plugin.scoreboard.portalDistance = function(portalAE6Location, portalBE6Location) {
|
window.plugin.scoreboard.portalDistance = function(portalAE6Location, portalBE6Location) {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user