Skip to content

Commit

Permalink
- fixed broken killboard after zKillboard changed their API, closed #699
Browse files Browse the repository at this point in the history
  • Loading branch information
exodus4d committed Oct 7, 2018
1 parent 05f8d11 commit 6214d09
Show file tree
Hide file tree
Showing 10 changed files with 491 additions and 591 deletions.
7 changes: 5 additions & 2 deletions js/app/ui/module/connection_info.js
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,9 @@ define([
connectionInfoPanelClass: 'pf-connection-info-panel', // class for connection info panels
connectionInfoPanelId: 'pf-connection-info-panel-', // id prefix for connection info panels

dynamicAreaClass: 'pf-dynamic-area', // class for "dynamic" areas
controlAreaClass: 'pf-module-control-area', // class for "control" areas

// info table
moduleTableClass: 'pf-module-table', // class for module tables
connectionInfoTableLabelSourceClass: 'pf-connection-info-label-source', // class for source label
Expand Down Expand Up @@ -107,7 +110,7 @@ define([
*/
let getInfoPanelControl = (mapId) => {
let connectionElement = getConnectionElement(mapId, 0).append($('<div>', {
class: 'pf-dynamic-area',
class: [config.dynamicAreaClass, config.controlAreaClass].join(' '),
html: '<i class="fas fa-fw fa-plus"></i>&nbsp;add connection&nbsp;&nbsp;<kbd>ctrl</kbd>&nbsp;+&nbsp;<kbd>click</kbd>'
}));

Expand All @@ -125,7 +128,7 @@ define([
let scopeLabel = MapUtil.getScopeInfoForConnection(connectionData.scope, 'label');

let element = $('<div>', {
class: 'pf-dynamic-area'
class: [config.dynamicAreaClass, config.controlAreaClass].join(' ')
}).append(
$('<table>', {
class: ['table', 'table-condensed', 'pf-table-fixed', config.moduleTableClass].join(' ')
Expand Down
Loading

0 comments on commit 6214d09

Please sign in to comment.