: str_replace(): Passing null to parameter #2 ($replace) of type array|string is deprecated in
* jQuery UI Effects Fade 1.13.3
* Copyright OpenJS Foundation and other contributors
* Released under the MIT license.
* https://jquery.org/license
//>>description: Fades the element.
//>>docs: https://api.jqueryui.com/fade-effect/
//>>demos: https://jqueryui.com/effect/
if ( typeof define === "function" && define.amd ) {
// AMD. Register as an anonymous module.
return $.effects.define( "fade", "toggle", function( options, done ) {
var show = options.mode === "show";
.css( "opacity", show ? 0 : 1 )
duration: options.duration,