DEV: drops jquery usage from ajax wizards lib (#14694)
This commit is contained in:
parent
05dda755ed
commit
cc68eb825b
|
@ -7,7 +7,7 @@ let token;
|
|||
|
||||
export function getToken() {
|
||||
if (!token) {
|
||||
token = $('meta[name="csrf-token"]').attr("content");
|
||||
token = document.querySelector('meta[name="csrf-token"]')?.content;
|
||||
}
|
||||
|
||||
return token;
|
||||
|
|
Loading…
Reference in New Issue