SyntaxFix
Write A Post
Hire A Developer
Questions
We can simply use
async: false
This will do your need.