Skip to content

Commit

Permalink
Merge #89
Browse files Browse the repository at this point in the history
  • Loading branch information
wiedehopf committed Nov 16, 2020
2 parents 33aeea9 + 5481172 commit 5694dbb
Showing 1 changed file with 2 additions and 5 deletions.
7 changes: 2 additions & 5 deletions html/script.js
Original file line number Diff line number Diff line change
Expand Up @@ -750,9 +750,9 @@ function initPage() {

$('#grouptype_checkbox').on('click', function() {
if ($('#grouptype_checkbox').hasClass('settingsCheckboxChecked')) {
TAR.planesTable.sortByDistance();
TAR.planesTable.cols.distance.sort();
} else {
TAR.planesTable.sortByDataSource();
TAR.planesTable.cols.data_source.sort();
}
});

Expand Down Expand Up @@ -2143,9 +2143,6 @@ function refreshFeatures() {
header: function() { return ""; },
sort: function () { sortBy('country', compareAlpha, function(x) { return x.icaorange.country; }); },
value: function(plane) { return (plane.icaorange.flag_image ? ('<img width="20" height="12" style="display: block;margin: auto;" src="' + FlagPath + plane.icaorange.flag_image + '" title="' + plane.icaorange.country + '"></img>') : ''); },



hStyle: 'style="width: 20px; padding: 3px;"',
html: true,
};
Expand Down

0 comments on commit 5694dbb

Please sign in to comment.