Bug Tracker

Ticket #2915 (new bug)

Opened 8 months ago

[effects-core] in createWrapper, check if top and left are NaN with isNaN()

Reported by: lrbabe Assigned to: paul
Type: bug Priority: major
Milestone: 1.3 Component: ui
Version: 1.2.5 Keywords: effects, createWrapper, isNaN
Cc: Needs: Commit

Description

Before setting the wrapper css, createWrapper check whether top and left are number with if (top.constructor != Number) which cause problems with IE browsers We should use if (isNaN(top)) instead

Attachments

patch.txt (0.9 kB) - added by lrbabe 8 months ago.
patch to replace the test with isNaN()

Change History

Changed 8 months ago by lrbabe

patch to replace the test with isNaN()

Note: See TracTickets for help on using tickets.