Skip to content

Commit

Permalink
Merge branch '133-irrational-column-spacing-in-the-availability-datat…
Browse files Browse the repository at this point in the history
…able-for-electronic-holdings' into 'master'

Resolve "Irrational column spacing in the availability datatable for electronic holdings"

Closes upenn-libraries#133

See merge request franklin/discovery-app!143
  • Loading branch information
mksndz committed Apr 29, 2021
2 parents dbe76f6 + 8ef4528 commit f61e095
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions app/assets/javascripts/availability.js.erb
Original file line number Diff line number Diff line change
Expand Up @@ -116,6 +116,7 @@ $(document).ready(function() {
{ "visible": false, "targets": [0,6,7] },
{ "orderable": false, "targets": 5 }
],
"autoWidth": false,
"order": [],
"language": {
"search": "Filter records:",
Expand Down Expand Up @@ -156,6 +157,9 @@ $(document).ready(function() {
else {
$('#requestOptions-' + mmsid + '_paginate').hide();
}

// resize table columns
table.columns.adjust();
},
"initComplete": function(settings, json) {
var table = $('#requestOptions-' + mmsid).DataTable();
Expand Down

0 comments on commit f61e095

Please sign in to comment.