fix: create() must return raw DOM node (not jQuery) for Lampa

This commit is contained in:
Hermes committed 2026-08-08 12:46:36 +02:00
1 parent 9186ee61a0
commit f93a132b9d
1 file changed
+2 -2
+2 -2
View File
@@ -55,7 +55,7 @@
Lampa.Layer.visible(html);
});
return $(html);
return html;
};
}
Lampa.Component.add(PLUGIN.name, MyMovies);
@@ -118,7 +118,7 @@
$(btn).on('hover:enter', function () { play(m); });
Lampa.Layer.update(html);
Lampa.Layer.visible(html);
return $(html);
return html;
};
}
Lampa.Component.add(PLUGIN.name + '_detail', MyMoviesDetail);