blob: a4f66e984612e49f46a1d4c88771c37435dac36a [file] [log] [blame]
!function(e){"use strict";"function"==typeof define&&define.amd?define(["jquery","datatables.net"],(function(t){return e(t,window,document)})):"object"==typeof exports?module.exports=function(t,n){return t||(t=window),n&&n.fn.dataTable||(n=require("datatables.net")(t,n).$),e(n,t,t.document)}:e(jQuery,window,document)}((function(e,t,n,i){"use strict";var o=e.fn.dataTable;function a(t){var n=e("td.table-view-pf-actions .table-view-pf-btn, td.table-view-pf-actions .dropdown",t.table().container());!function(t,n){n!==i&&0!==n.length&&e(n).each((function(t,n){e(n).css({height:"auto"})}))}(0,n),function(t,n){n!==i&&0!==n.length&&e(n).each((function(t,n){var o=e(n).parent("td");o!==i&&0!==o.length&&e(n).css({height:o[0].clientHeight})}))}(0,n)}return o.pfResize={},o.pfResize.init=function(n){n.settings()[0]._pfResize={},/(MSIE|Trident\/|Edge\/)/i.test(t.navigator.userAgent)&&(e(t).on("resize",(function(){a(n)})),a(n))},o.Api.register("pfResize.resize()",(function(){return this.iterator("table",(function(e){a(new o.Api(e))}))})),e(n).on("init.dt",(function(e,t,n){"dt"===e.namespace&&o.pfResize.init(new o.Api(t))})),o.pfResize}));