jquery-resize icon indicating copy to clipboard operation
jquery-resize copied to clipboard

Handle 'data' null/undefined

Open thellvig opened this issue 8 years ago • 0 comments

Hi, I believe a check for data being null/undefined would improve on your code. I would like to change line 258 [ if (width !== data.w || height !== data.h) ] to [ if (data && (width !== data.w || height !== data.h)) ] in the source.

Yours truly

thellvig avatar Feb 08 '17 16:02 thellvig