xxjapp / xdialog

A simple and beautiful javascript dialog library
https://xxjapp.github.io/xdialog/
Apache License 2.0
26 stars 2 forks source link

Uncaught TypeError: Cannot read properties of null (reading 'querySelector') on using xdialog.startSpin(); #2

Closed zagor28 closed 6 months ago

zagor28 commented 6 months ago

Describe the bug I am using xdialog.startSpin(); in $(document).ready(function() {.....});. It was working fine from months, but now it is throwing Uncaught TypeError: Cannot read properties of null (reading 'querySelector') error. Tested on Edge and Chrome browsers.

To Reproduce Add xdialog.startSpin(); in $(document).ready(function() {.....}); and launch then website.

Expected behavior I am expecting to see the spinner/loader.

Screenshots error details error on console

Desktop (please complete the following information):