diff --git a/src/kiri/utils.js b/src/kiri/utils.js index eb29046a..5486a881 100644 --- a/src/kiri/utils.js +++ b/src/kiri/utils.js @@ -1,5 +1,6 @@ /** Copyright Stewart Allen -- All Rights Reserved */ +import { ajax } from '../moto/ajax.js'; import { local as dataLocal } from '../data/local.js'; function parseOpt(ov) { @@ -26,7 +27,7 @@ function encodeOpt(opt) { } function ajax(url, fn, rt, po, hd) { - return moto.ajax.new(fn, rt).request(url, po, hd); + return ajax.new(fn, rt).request(url, po, hd); } function o2js(o,def) {