: str_replace(): Passing null to parameter #2 ($replace) of type array|string is deprecated in
* jQuery UI Effects Highlight 1.13.3
* Copyright OpenJS Foundation and other contributors
* Released under the MIT license.
* https://jquery.org/license
//>>label: Highlight Effect
//>>description: Highlights the background of an element in a defined color for a custom duration.
//>>docs: https://api.jqueryui.com/highlight-effect/
//>>demos: https://jqueryui.com/effect/
if ( typeof define === "function" && define.amd ) {
// AMD. Register as an anonymous module.
return $.effects.define( "highlight", "show", function( options, done ) {
backgroundColor: element.css( "backgroundColor" )
if ( options.mode === "hide" ) {
$.effects.saveStyle( element );
backgroundColor: options.color || "#ffff99"
duration: options.duration,