WebEngage / gitbook-plugin-copy-code-button

gitbook-plugin-copy-code-button
Apache License 2.0
20 stars 13 forks source link

Uncaught TypeError: Failed to execute 'selectNodeContents' on 'Range': parameter 1 is not of type 'Node' #5

Open jjsty1e opened 5 years ago

jjsty1e commented 5 years ago

Maybe you should check the file and lie toggle.js:4, if the parameter el is a jquery element or native element.

image

btw: your plugin is nice.