fix: create() must return raw DOM node (not jQuery) for Lampa
This commit is contained in:
1 parent
9186ee61a0
commit
f93a132b9d
1 file changed
+2
-2
@@ -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);
|
||||
|
||||
Reference in new issue
Block a user