Edit File by line

Deprecated: str_replace(): Passing null to parameter #2 ($replace) of type array|string is deprecated in /home/sportsfever/public_html/filemanger/function.php on line 93
/home/sportsfe.../httpdocs/clone/wp-inclu.../js/jquery/ui
File: effect-drop.js
/*!
[0] Fix | Delete
* jQuery UI Effects Drop 1.13.3
[1] Fix | Delete
* https://jqueryui.com
[2] Fix | Delete
*
[3] Fix | Delete
* Copyright OpenJS Foundation and other contributors
[4] Fix | Delete
* Released under the MIT license.
[5] Fix | Delete
* https://jquery.org/license
[6] Fix | Delete
*/
[7] Fix | Delete
[8] Fix | Delete
//>>label: Drop Effect
[9] Fix | Delete
//>>group: Effects
[10] Fix | Delete
//>>description: Moves an element in one direction and hides it at the same time.
[11] Fix | Delete
//>>docs: https://api.jqueryui.com/drop-effect/
[12] Fix | Delete
//>>demos: https://jqueryui.com/effect/
[13] Fix | Delete
[14] Fix | Delete
( function( factory ) {
[15] Fix | Delete
"use strict";
[16] Fix | Delete
[17] Fix | Delete
if ( typeof define === "function" && define.amd ) {
[18] Fix | Delete
[19] Fix | Delete
// AMD. Register as an anonymous module.
[20] Fix | Delete
define( [
[21] Fix | Delete
"jquery",
[22] Fix | Delete
"../version",
[23] Fix | Delete
"../effect"
[24] Fix | Delete
], factory );
[25] Fix | Delete
} else {
[26] Fix | Delete
[27] Fix | Delete
// Browser globals
[28] Fix | Delete
factory( jQuery );
[29] Fix | Delete
}
[30] Fix | Delete
} )( function( $ ) {
[31] Fix | Delete
"use strict";
[32] Fix | Delete
[33] Fix | Delete
return $.effects.define( "drop", "hide", function( options, done ) {
[34] Fix | Delete
[35] Fix | Delete
var distance,
[36] Fix | Delete
element = $( this ),
[37] Fix | Delete
mode = options.mode,
[38] Fix | Delete
show = mode === "show",
[39] Fix | Delete
direction = options.direction || "left",
[40] Fix | Delete
ref = ( direction === "up" || direction === "down" ) ? "top" : "left",
[41] Fix | Delete
motion = ( direction === "up" || direction === "left" ) ? "-=" : "+=",
[42] Fix | Delete
oppositeMotion = ( motion === "+=" ) ? "-=" : "+=",
[43] Fix | Delete
animation = {
[44] Fix | Delete
opacity: 0
[45] Fix | Delete
};
[46] Fix | Delete
[47] Fix | Delete
$.effects.createPlaceholder( element );
[48] Fix | Delete
[49] Fix | Delete
distance = options.distance ||
[50] Fix | Delete
element[ ref === "top" ? "outerHeight" : "outerWidth" ]( true ) / 2;
[51] Fix | Delete
[52] Fix | Delete
animation[ ref ] = motion + distance;
[53] Fix | Delete
[54] Fix | Delete
if ( show ) {
[55] Fix | Delete
element.css( animation );
[56] Fix | Delete
[57] Fix | Delete
animation[ ref ] = oppositeMotion + distance;
[58] Fix | Delete
animation.opacity = 1;
[59] Fix | Delete
}
[60] Fix | Delete
[61] Fix | Delete
// Animate
[62] Fix | Delete
element.animate( animation, {
[63] Fix | Delete
queue: false,
[64] Fix | Delete
duration: options.duration,
[65] Fix | Delete
easing: options.easing,
[66] Fix | Delete
complete: done
[67] Fix | Delete
} );
[68] Fix | Delete
} );
[69] Fix | Delete
[70] Fix | Delete
} );
[71] Fix | Delete
[72] Fix | Delete
It is recommended that you Edit text format, this type of Fix handles quite a lot in one request
Function