public/javascript/feature.js
Function expandCollapseDetails
has 37 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
function expandCollapseDetails() {
var featureTitleEl = window.document.getElementById('feature-title');
var tagsButtonEl = window.document.getElementById('expand-collapse-tags');
var featureDetailsEls = window.document.getElementsByClassName('feature-details');
var scenarioDetailsEls = window.document.getElementsByClassName('scenario-details');
- Create a ticketCreate a ticket