diff --git a/src/client/components/drive.nav-folder.vue b/src/client/components/drive.nav-folder.vue
index f44f6becf7..145e8b9aae 100644
--- a/src/client/components/drive.nav-folder.vue
+++ b/src/client/components/drive.nav-folder.vue
@@ -1,6 +1,6 @@
 <template>
 <div class="drylbebk"
-	:data-draghover="draghover"
+	:class="{ draghover }"
 	@click="onClick"
 	@dragover.prevent.stop="onDragover"
 	@dragenter="onDragenter"
@@ -126,7 +126,7 @@ export default defineComponent({
 		pointer-events: none;
 	}
 
-	&[data-draghover] {
+	&.draghover {
 		background: #eee;
 	}