Sha256: 43e9dbca113b287ccf87fd50aa9a35bbe581606e99ceac205438ff37e7d85b16
Contents?: true
Size: 999 Bytes
Versions: 60
Compression:
Stored size: 999 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 array = $('#searchKeywords').val().split(","); // $.each(array,function(i){ // alert(array[i]); // }); // var el = document.getElementsByClassName('kanban-list') // if(el[0]) { // Sortable.create(el,{ // handle: '.kanban-item', // animation: 150 // }); // } var headerElemHeight = $('.page-top-bar').height() + 64 var calculatedHeight = "calc(100vh - " + headerElemHeight+"px"+")" $('.table-wrapper').css("maxHeight", calculatedHeight); });
Version data entries
60 entries across 60 versions & 1 rubygems