Search and Top Navigation
#4940 closed bug (fixed)
Opened November 03, 2009 08:45PM UTC
Closed February 03, 2010 01:23AM UTC
resizable('destroy') moves images to end of parent element
Reported by: | erikharrison | Owned by: | |
---|---|---|---|
Priority: | critical | Milestone: | 1.8 |
Component: | ui.resizable | Version: | 1.7.2 |
Keywords: | Cc: | ||
Blocked by: | Blocking: |
Description
Only tested with images, in FF 3.5. Sorry I don't have a demo page handy to link you to.
$('img').resizable().resizable('destroy');
The images are moved in the DOM to the end of their parent element. So
<div> Before <img src='image.jpg'> After <div>
becomes
<div> Before After <img src='image.jpg'> <div>
In my tests this affected both stable and 1.8a1