Sha256: 8da31e58e119ae86d5600d01ec9f15b6639a10a64edca9c1031da474821586ba
Contents?: true
Size: 498 Bytes
Versions: 2
Compression:
Stored size: 498 Bytes
Contents
if ($.noty) { $.noty.defaults = { ...$.noty.defaults, layout: "topRight", animateOpen: { opacity: "show" }, closeWith: ["hover"] }; } if (Noty) { Noty.overrideDefaults({ layout: "topRight", theme: "bootstrap-v4", closeWith: ["click"], callbacks: { // new Noty removed closeWith: 'hover', so this adds it back onHover: function() { if (this.options.closeWith.indexOf("hover") != -1) { this.close(); } } } }); }
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
zuora_connect_ui-0.7.1 | app/assets/javascripts/zuora_connect_ui/noty.js |
zuora_connect_ui-0.7.0 | app/assets/javascripts/zuora_connect_ui/noty.js |