mirror of
https://github.com/WordPress/WordPress.git
synced 2024-11-05 10:22:23 +01:00
2e18aa8824
Fixes placeholder sizes when sorting post and dashboard meta boxes. git-svn-id: http://svn.automattic.com/wordpress/trunk@20660 1a063a9b-81f0-0310-95a4-ce76da25c4cd
5 lines
961 B
JavaScript
5 lines
961 B
JavaScript
/*! jQuery UI - v1.8.20 - 2012-04-30
|
|
* https://github.com/jquery/jquery-ui
|
|
* Includes: jquery.effects.clip.js
|
|
* Copyright (c) 2012 AUTHORS.txt; Licensed MIT, GPL */
|
|
(function(a,b){a.effects.clip=function(b){return this.queue(function(){var c=a(this),d=["position","top","bottom","left","right","height","width"],e=a.effects.setMode(c,b.options.mode||"hide"),f=b.options.direction||"vertical";a.effects.save(c,d),c.show();var g=a.effects.createWrapper(c).css({overflow:"hidden"}),h=c[0].tagName=="IMG"?g:c,i={size:f=="vertical"?"height":"width",position:f=="vertical"?"top":"left"},j=f=="vertical"?h.height():h.width();e=="show"&&(h.css(i.size,0),h.css(i.position,j/2));var k={};k[i.size]=e=="show"?j:0,k[i.position]=e=="show"?0:j/2,h.animate(k,{queue:!1,duration:b.duration,easing:b.options.easing,complete:function(){e=="hide"&&c.hide(),a.effects.restore(c,d),a.effects.removeWrapper(c),b.callback&&b.callback.apply(c[0],arguments),c.dequeue()}})})}})(jQuery); |