Fixed icon importer
This commit is contained in:
@ -21,7 +21,7 @@ document.addEventListener('DOMContentLoaded', function () {
|
|||||||
formData.append('icon_set_id', iconSetId);
|
formData.append('icon_set_id', iconSetId);
|
||||||
|
|
||||||
const xhr = new XMLHttpRequest();
|
const xhr = new XMLHttpRequest();
|
||||||
xhr.open('POST', mytheme_ajax.ajax_url, true);
|
xhr.open('POST', lcp_ajax.ajax_url, true);
|
||||||
|
|
||||||
xhr.onload = function () {
|
xhr.onload = function () {
|
||||||
if (xhr.status === 200) {
|
if (xhr.status === 200) {
|
||||||
@ -55,7 +55,7 @@ document.addEventListener('DOMContentLoaded', function () {
|
|||||||
formData.append('icon_set_id', iconSetId);
|
formData.append('icon_set_id', iconSetId);
|
||||||
|
|
||||||
const xhr = new XMLHttpRequest();
|
const xhr = new XMLHttpRequest();
|
||||||
xhr.open('POST', mytheme_ajax.ajax_url, true);
|
xhr.open('POST', lcp_ajax.ajax_url, true);
|
||||||
|
|
||||||
xhr.onload = function () {
|
xhr.onload = function () {
|
||||||
if (xhr.status === 200) {
|
if (xhr.status === 200) {
|
||||||
|
|||||||
Reference in New Issue
Block a user