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') in xdialog.startSpin() #3

Closed Kashif2016 closed 6 months ago

Kashif2016 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 on console error details

Desktop (please complete the following information):

OS: Windows Browser: Chrome (Version 124.0.6367.91 (Official Build) (64-bit)), Edge (Version 124.0.2478.51 (Official build) (64-bit))

xxjapp commented 6 months ago

Fixed.

https://github.com/xxjapp/xdialog/commit/b60e677db897888851c88c5ee8071e87a4420083

xxjapp commented 6 months ago

New version released:

https://github.com/xxjapp/xdialog/releases/tag/v3.4.2