Use store method impl the music etc shortcode.

This commit is contained in:
elkan1788
2025-01-15 21:42:22 +08:00
parent 088da43913
commit b2e0be5a6a
16 changed files with 70 additions and 32 deletions

View File

@@ -9,10 +9,10 @@ HTMLElement.prototype.wrap = function (wrapper) {
NexT.utils = {
registerAPlayer: function () {
this.getStyle(
NexT.utils.getCDNResource(NexT.CONFIG.page.aplayer.css)
NexT.utils.getCDNResource(NexT.CONFIG.page.music.css)
);
NexT.CONFIG.page.aplayer.js.forEach(function (js) {
NexT.CONFIG.page.music.js.forEach(function (js) {
NexT.utils.getScript(NexT.utils.getCDNResource(js), true);
});