Prevent offset+getClientRects error when elem is document
Prevent offset+getClientRects error when elem is document

Sometimes when dragging & dropping rows, elem is document and offset can't be calculated on document
6pac/SlickGrid,6pac/SlickGrid