Closed Alttaf closed 6 years ago
if the element doesn't exist you get an 'offsetParent undefined' by adding an extra check for element you don't get this error and it will default to a location of 0
if the element doesn't exist you get an 'offsetParent undefined' by adding an extra check for element you don't get this error and it will default to a location of 0