mirror of
https://github.com/jquery/jquery-ui.git
synced 2024-11-21 11:04:24 +00:00
Effects: Fix style issues in individual effects
Skipping ui/effect.js since embedded jquery-color has many issues. Closes gh-1510
This commit is contained in:
parent
c16a5e58f9
commit
868e8c70e3
@ -83,7 +83,7 @@ var
|
|||||||
"ui/datepicker.js",
|
"ui/datepicker.js",
|
||||||
"ui/draggable.js",
|
"ui/draggable.js",
|
||||||
"ui/droppable.js",
|
"ui/droppable.js",
|
||||||
"ui/effect*.js",
|
"ui/effect.js",
|
||||||
"ui/mouse.js",
|
"ui/mouse.js",
|
||||||
"ui/resizable.js",
|
"ui/resizable.js",
|
||||||
"ui/selectable.js",
|
"ui/selectable.js",
|
||||||
|
@ -87,7 +87,8 @@ return $.effects.define( "explode", "hide", function( options, done ) {
|
|||||||
left: left + ( show ? mx * width : 0 ),
|
left: left + ( show ? mx * width : 0 ),
|
||||||
top: top + ( show ? my * height : 0 ),
|
top: top + ( show ? my * height : 0 ),
|
||||||
opacity: show ? 0 : 1
|
opacity: show ? 0 : 1
|
||||||
}).animate({
|
} )
|
||||||
|
.animate( {
|
||||||
left: left + ( show ? 0 : mx * width ),
|
left: left + ( show ? 0 : mx * width ),
|
||||||
top: top + ( show ? 0 : my * height ),
|
top: top + ( show ? 0 : my * height ),
|
||||||
opacity: show ? 1 : 0
|
opacity: show ? 1 : 0
|
||||||
|
Loading…
Reference in New Issue
Block a user