From f93a132b9dd813007806d794e57ed6c8484cd161 Mon Sep 17 00:00:00 2001 From: Hermes Date: Sat, 8 Aug 2026 12:46:36 +0200 Subject: [PATCH] fix: create() must return raw DOM node (not jQuery) for Lampa --- plugin.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/plugin.js b/plugin.js index 95efa35..df06928 100644 --- a/plugin.js +++ b/plugin.js @@ -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);