drgullin / icheck

Highly customizable checkboxes and radio buttons (jQuery & Zepto)
http://fronteed.com/iCheck
7.39k stars 1.63k forks source link

fix for positioning bug in chrome #409

Closed EasterTheBunny closed 3 years ago

EasterTheBunny commented 5 years ago

position getter function, .css, would return relative for an element with default static positioning. added second check to make sure positioning was relative for both cases static and relative

drgullin commented 3 years ago

@EasterTheBunny we shouldn't set position to relative if it's already relative.