ericmmartin / simplemodal

A modal dialog framework for jQuery
http://simplemodal.com/
Other
506 stars 229 forks source link

Option position with percentage. #76

Open JDarzan opened 6 years ago

JDarzan commented 6 years ago

Hi, Option position does not work with percentage. Line of source: top = parseFloat(st) + parseFloat(s.o.position[0] || hc); I put an if () if it contains percentage in string, not to use the parsefloat.