Fixed icon importer

This commit is contained in:
Jeremy Rangel
2025-01-02 22:31:19 -08:00
parent 3a205a53cf
commit b79a4ece03

View File

@ -21,7 +21,7 @@ document.addEventListener('DOMContentLoaded', function () {
formData.append('icon_set_id', iconSetId);
const xhr = new XMLHttpRequest();
xhr.open('POST', mytheme_ajax.ajax_url, true);
xhr.open('POST', lcp_ajax.ajax_url, true);
xhr.onload = function () {
if (xhr.status === 200) {
@ -55,7 +55,7 @@ document.addEventListener('DOMContentLoaded', function () {
formData.append('icon_set_id', iconSetId);
const xhr = new XMLHttpRequest();
xhr.open('POST', mytheme_ajax.ajax_url, true);
xhr.open('POST', lcp_ajax.ajax_url, true);
xhr.onload = function () {
if (xhr.status === 200) {