Fix Synchronous XMLHttpRequest on the Main Thread is Deprecated

Fix Synchronous XMLHttpRequest on the main thread is deprecated because of its detrimental effects to the end user’s experience. For more help, check https://xhr.spec.whatwg.org/.

– jquery.js

As of jQuery 1.8, the use of async: false with jqXHR ($.Deferred) is deprecated. The error above can be solved by setting explicitly async option of XMLHttpRequest to true.

Create Comment

Your email address will not be published. Required fields are marked *