I am trying to completely disable the transition effect on my drop-down menu. Below is the JavaScript code that I believe needs to be changed:
function(e) {
if ((/input|textarea/i.test(e.target.tagName) ? !(32 === e.which || 27 !== e.which && (40 !== e.which && 38 !== e.which || t(e.target).closest(y).length)) : h.test(e.which)) && (e.preventDefault(), e.stopPropagation(), !this.disabled && !t(this).hasClass(u))) {
var n = a._getParentFromElement(this),
i = t(n).hasClass(f);
if ((i || 27 === e.which && 32 === e.which) && (!i || 27 !== e.which && 32 !== e.which)) {
var s = t(n).find(I).get();
if (0 !== s.length) {
var r = s.indexOf(e.target);
38 === e.which && r > 0 && r--, 40 === e.which && r < s.length - 1 && r++, r < 0 && (r = 0), s[r].focus()
}
} else {
if (27 === e.which) {
var o = t(n).find(E)[0];
t(o).trigger("focus")
}
t(this).trigger("click")
}
}
}