sharegpt icon indicating copy to clipboard operation
sharegpt copied to clipboard

Unused variables which causing error

Open erkage opened this issue 1 year ago • 4 comments

These variables are not used anywhere and the 2nd line causing the following error: "index.js:48 Uncaught TypeError: Cannot read properties of null (reading 'nextElementSibling')"

https://github.com/domeccleston/sharegpt/blob/3ceca3aba9b62ae49546ebb0dd516ac7addf2926/extension/index.js#L46-L48

Without them the code works correctly.

erkage avatar May 11 '23 12:05 erkage

same here, i just unsintsalled the plugin because of this

fbaptista avatar May 11 '23 21:05 fbaptista

@erkage would you happen to have a nutshell on the quickest way to trim out that line? did you need to install your own version of the plugin? I'd be happy to fill in the details for others if you could nudge me in the right direction

jcwilk avatar May 26 '23 17:05 jcwilk

@jcwilk @fbaptista Sorry about this – a fix has been merged and is pending review.

domeccleston avatar May 26 '23 18:05 domeccleston

@domeccleston thanks so much! it works for me now once again, a thousand thanks for the excellent plugin :raised_hands:

jcwilk avatar May 27 '23 01:05 jcwilk