gmrchk/blobity

why does it show two blobs?

realtouseef opened this issue · 2 comments

I am scratching my head because I get two blobs after when I change the color of the blob or add a tooltip. Kindly help.
https://codepen.io/touseefcodes/pen/XWaRgmV

It works fine if you set the mode to normal

As stated in the readme, the CDN version of Blobity also includes something called autostart, which will initialize Blobity with the default options. That being said, the two blobs you are seeing are the default blob from autoStart(the gray one) + your custom blob.

You can fix this disabling the auto start by adding the noAutoStart parameter to the src URL. Like so:

<script src="https://cdn.blobity.dev/by.js?noAutoStart&licenseKey=..."></script>