Within my web project I use jQuery. There is a function registered to jQuery click event.
toggleCalculationSelection : function(ev) {
var src = typeof ev !== 'undefined' ? $(ev.target) : $('form.attribute input[name="calculation"][value="3"]');
jQuery delivers an event object with a target property.
JetBrains Webstorms tells me, that target
is an unresolved variable.
I don't want to turn off this check completely.
How can I either tell Jetbrains to ignore this error in this case or teach it, that jQuery has this property?