remove unused variable and querySelector method (#4359)
This commit is contained in:
parent
15d7e7629a
commit
ddabcb9d38
1 changed files with 0 additions and 1 deletions
|
|
@ -25,7 +25,6 @@ function fetchBaseData() {
|
|||
removeExistingCSRF();
|
||||
}
|
||||
var newCsrfParamMeta = document.createElement('meta');
|
||||
var metaTag = document.querySelector("meta[name='csrf-token']");
|
||||
newCsrfParamMeta.name = 'csrf-param';
|
||||
newCsrfParamMeta.content = json.param;
|
||||
document.getElementsByTagName('head')[0].appendChild(newCsrfParamMeta);
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue