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:
Jörn Zaefferer 2015-03-18 15:39:12 +01:00
parent c16a5e58f9
commit 868e8c70e3
16 changed files with 118 additions and 117 deletions

View File

@ -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",

View File

@ -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