Fix a variety of typos.

This commit is contained in:
Mike Castle
2013-11-26 23:55:08 -08:00
parent 6fcbd90588
commit 7a07f622de
5 changed files with 17 additions and 17 deletions

View File

@ -68,7 +68,7 @@ window.plugin.portalDefense.renderAttackRegion = function(portal) {
}
var region = L.marker(portal.getLatLng(), {
icon: L.divIcon({
className: 'plugin-iic-defense',
className: 'plugin-iitc-defense',
clickable: false,
iconAnchor: [-10,10],
html: "<div class='defense-label'>"+display+"</div>"
@ -127,7 +127,7 @@ var setup = function() {
$('#toolbox').append(' <a onclick="window.plugin.portalDefense.reload()">Reload Defense</a>');
$("<style>")
.prop("type", "text/css")
.html(".plugin-iic-defense {\
.html(".plugin-iitc-defense {\
font-size: 10px;\
color: #FFFFBB;\
font-family: monospace;\

View File

@ -76,18 +76,18 @@ window.plugin.showLinkedPortal.getPortalByGuid = function (guid,isorigin) {
if (window.portals[guid] !== undefined) {
var portalDetails = window.portals[guid].options.details;
var portalNameAdressAlt = "'" + portalDetails.portalV2.descriptiveText.TITLE + "' (" + portalDetails.portalV2.descriptiveText.ADDRESS + ")";
var portalNameAdressTitle = $('<div/>').append($('<strong/>').text(portalDetails.portalV2.descriptiveText.TITLE))
.append($('<br/>'))
.append($('<em/>').text('(' + portalDetails.portalV2.descriptiveText.ADDRESS + ')'))
.append($('<br/>'))
.append(linkDirection)
.html();
var portalNameAddressAlt = "'" + portalDetails.portalV2.descriptiveText.TITLE + "' (" + portalDetails.portalV2.descriptiveText.ADDRESS + ")";
var portalNameAddressTitle = $('<div/>').append($('<strong/>').text(portalDetails.portalV2.descriptiveText.TITLE))
.append($('<br/>'))
.append($('<em/>').text('(' + portalDetails.portalV2.descriptiveText.ADDRESS + ')'))
.append($('<br/>'))
.append(linkDirection)
.html();
var imageUrl = getPortalImageUrl(portalDetails);
portalInfoString = $('<div/>').html($('<img/>').attr('src', imageUrl)
.attr('class', 'minImg')
.attr('alt', portalNameAdressAlt)
.attr('title', portalNameAdressTitle))
.attr('alt', portalNameAddressAlt)
.attr('title', portalNameAddressTitle))
.html();
} else {
var title = $('<div/>').append($('<strong/>').text('Zoom out'))