Files
EasySoft-ZenTaoPMS/module/kanban/js/setlaneheight.js
T
2022-01-11 17:02:17 +08:00

18 lines
343 B
JavaScript

/**
* Set card count.
*
* @param string $heightType
* @access public
* @return void
*/
function setCardCount(heightType)
{
heightType != 'custom' ? $('#cardBox').addClass('hidden') : $('#cardBox').removeClass('hidden');
}
$(function()
{
var heightType = $("[name='heightType']:checked").val();
setCardCount(heightType);
})