Changeset 13414 for trunk/plugins
- Timestamp:
- 12/11/09 01:05:42 (2 years ago)
- File:
-
- 1 edited
-
trunk/plugins/jquery/ui.sortable.js (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
trunk/plugins/jquery/ui.sortable.js
r13368 r13414 623 623 624 624 //If the element doesn't have a actual height by itself (without styles coming from a stylesheet), it receives the inline height from the dragged item 625 if(!p.height()) { p.height(self.currentItem.innerHeight() - parseInt(self.currentItem.css('paddingTop')||0, 10) - parseInt(self.currentItem.css('paddingBottom')||0, 10) ); };626 if(!p.width()) { p.width(self.currentItem.innerWidth() - parseInt(self.currentItem.css('paddingLeft')||0, 10) - parseInt(self.currentItem.css('paddingRight')||0, 10) ); };625 if(!p.height()) { p.height(self.currentItem.innerHeight() - parseInt(self.currentItem.css('paddingTop')||0, 10) - parseInt(self.currentItem.css('paddingBottom')||0, 10) - 1); }; 626 if(!p.width()) { p.width(self.currentItem.innerWidth() - parseInt(self.currentItem.css('paddingLeft')||0, 10) - parseInt(self.currentItem.css('paddingRight')||0, 10) - 1); }; 627 627 } 628 628 };
Note: See TracChangeset
for help on using the changeset viewer.