app/js/components/jquery.otherDropdown.js
Function otherDropdown
has 40 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
$.fn.otherDropdown = function(options) {
var $this = this;
// Allow a different name/value to trigger, default to 'other'
var opts = $.extend({}, {value: 'other'}, options);
opts.name_lower = opts.value.toLowerCase();