static/app/javascript/users/paid_time_off/paid_time_off.js
Function drawChart
has 28 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
function drawChart() {
// console.log(document.all)
// Create the data table.
var sick_days_taken = parseInt(document.getElementById('sick_days_taken').value);