Sha256: 16d7527c98f016166b537029b64331b590359bcaa960bc549116110c7c245674
Contents?: true
Size: 693 Bytes
Versions: 9
Compression:
Stored size: 693 Bytes
Contents
$(document).on('turbolinks:load', function () { $('.select-2').select2({ theme: "bootstrap-5", }); flatpickr("[data-behaviour='date-only']", { dateFormat: "d-m-Y" }) flatpickr("[data-behaviour='date-time']", { enableTime: true }) flatpickr("[data-behaviour='filter'][data-filter-type='date']", { mode: 'range' }) var el = document.getElementsByClassName('columns-list') if(el[0]) { Sortable.create(el[0],{ handle: '.dragger', animation: 150 }); } var headerElemHeight = $('.page-top-bar').height() + 64 var calculatedHeight = "calc(100vh - " + headerElemHeight+"px"+")" $('.table-wrapper').css("maxHeight", calculatedHeight); });
Version data entries
9 entries across 9 versions & 1 rubygems