fix user-location plugin for team name change
This commit is contained in:
parent
55036be913
commit
e59b38a82d
@ -1,7 +1,7 @@
|
||||
// ==UserScript==
|
||||
// @id iitc-plugin-user-location@cradle
|
||||
// @name IITC plugin: User Location
|
||||
// @version 0.1.2.@@DATETIMEVERSION@@
|
||||
// @version 0.1.3.@@DATETIMEVERSION@@
|
||||
// @namespace https://github.com/jonatkins/ingress-intel-total-conversion
|
||||
// @updateURL @@UPDATEURL@@
|
||||
// @downloadURL @@DOWNLOADURL@@
|
||||
@ -31,7 +31,7 @@ window.plugin.userLocation.setup = function() {
|
||||
iconRetinaUrl: iconRetImage
|
||||
}});
|
||||
|
||||
var cssClass = PLAYER.team === 'ALIENS' ? 'enl' : 'res';
|
||||
var cssClass = PLAYER.team === 'RESISTANCE' ? 'res' : 'enl';
|
||||
var title = '<span class="nickname '+ cssClass+'" style="font-weight:bold;">' + PLAYER.nickname + '</span>\'s location';
|
||||
|
||||
var marker = L.marker(window.map.getCenter(), {
|
||||
|
Loading…
x
Reference in New Issue
Block a user