add the id to container dom

This commit is contained in:
Harvey committed 2021-12-03 08:46:02 +08:00
1 parent 7584aeafe3
commit 44f3665a55
4 files changed
+11 -10

No files matched your search

+1
View File
@@ -135,6 +135,7 @@ export default class Template {
this.$contextmenu = this.query('.art-contextmenus');
this.$player.style.setProperty('--theme', theme);
this.$container.dataset.artId = this.art.id;
if (backdrop) {
addClass(this.$settingInner, 'art-backdrop-filter');