fix: script path issue.
This commit is contained in:
1 parent
29a327ff02
commit
ec086e29aa
2 files changed
+2
-2
No files matched your search
+1
-1
@@ -17,7 +17,7 @@ import { requestAnimationFrame } from '../../ui';
|
||||
* @version 1.0.7
|
||||
*/
|
||||
|
||||
const ScriptPath = (self.document == null ? self.location.href : self.document.currentScript?.src ?? '').replace(/ui\.min\.js\?.+$/, '');
|
||||
const ScriptPath = import.meta.url.replace(/\/[^?/]+(\?[a-f0-9]+)?$/, '/');
|
||||
const Encoder = new TextEncoder('utf-8');
|
||||
|
||||
const ColumnChangedType = {
|
||||
|
||||
Reference in new issue
Block a user