0
When including any Primefaces component in my HTML body, it raises this error: Uncaught Typeerror: N.delegate is not a Function.
You know what would be?
The error is in this second line of jquery-plugins generated by Primefaces
 function g(N) {
        var M = "button, .ui-datepicker-prev, .ui-datepicker-next, .ui-datepicker-calendar td a";
        return N.delegate(M, "mouseout", function() {
            y(this).removeClass("ui-state-hover");
            if (this.className.indexOf("ui-datepicker-prev") !== -1) {
                y(this).removeClass("ui-datepicker-prev-hover")
            }
            if (this.className.indexOf("ui-datepicker-next") !== -1) {
                y(this).removeClass("ui-datepicker-next-hover")
            }
        }).delegate(M, "mouseover", function() {
            if (!y.datepicker._isDisabledDatepicker(j.inline ? N.parent()[0] : j.input[0])) {
                y(this).parents(".ui-datepicker-calendar").find("a").removeClass("ui-state-hover");
                y(this).addClass("ui-state-hover");
                if (this.className.indexOf("ui-datepicker-prev") !== -1) {
                    y(this).addClass("ui-datepicker-prev-hover")
                }
                if (this.className.indexOf("ui-datepicker-next") !== -1) {
                    y(this).addClass("ui-datepicker-next-hover")
                }
            }
        })
    }
Nwhich is being sent as argument does not have the functiondelegate. Give aconsole.loginNto see what’s coming, maybeundefined.– BrTkCa