notifyjs icon indicating copy to clipboard operation
notifyjs copied to clipboard

TypeError: elems[fn] is undefined - notify.js:338:3

Open SteinTheRuler opened this issue 7 years ago • 1 comments

I'm trying to display a simple notify window, but when calling $.notify I get: TypeError: elems[fn] is undefined - notify.js:338:3.

My calling notify code:

setTimeout(function () {
	$.notify({ title: "Klar for oppdrag", text: "Jeg har ledig tid. Ring nå!", image: "<img src='/IMAGES/tools.png' style='width:48px;' />" }, { position: "bottom right", style: "bootstrap", clickToHide: "true" });
}, 10600);

SteinTheRuler avatar Mar 27 '18 23:03 SteinTheRuler

Maybe you're using the compressed/minimal version of JQuery. I got the same problem, I changed to 3.5 uncompressed one, and everything went fine.

ghost avatar Apr 24 '20 07:04 ghost