Modify ↓
Ticket #7505 (closed bug: duplicate)
document.bind('selectstart') and attr() problem
| Reported by: | dmifedorenko@… | Owned by: | |
|---|---|---|---|
| Priority: | undecided | Milestone: | 1.5 |
| Component: | unfiled | Version: | 1.4.4 |
| Keywords: | Cc: | ||
| Blocking: | Blocked by: |
Description
Test case http://jsfiddle.net/Z3bkE/ return empty string on 1.4.4, but on <=1.4.3 it returns 1.
Because of this bug popular jQuery.event.drag library dont work with 1.4.4.
Any way to fix it?
Change History
comment:2 Changed 3 years ago by SlexAxton
- Status changed from new to closed
- Resolution set to duplicate
Correct, jitter, it seems to be a symptom of a regression on attr on non-dom nodes.
A workaround for people doing this now would be to use the 'body' element instead of document: http://jsfiddle.net/Z3bkE/1/
I'll mark this as a dupe though. thanks Jitter for the catch.
Please follow the bug reporting guidlines and use jsFiddle when providing test cases and demonstrations instead of pasting the code in the ticket.
Note: See
TracTickets for help on using
tickets.

Potential duplicate of #7500