Disable light/dark mode slider when JS disabled

pull/2912/head
Gavin John 2 years ago committed by GitHub
parent 992a93e648
commit 7d98f4db64
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -28,7 +28,7 @@ const hasExtraContent = computed(
</template> </template>
</div> </div>
<div v-if="site.appearance" class="group"> <div v-if="site.appearance" class="group js-required">
<div class="item appearance"> <div class="item appearance">
<p class="label"> <p class="label">
{{ theme.darkModeSwitchLabel || 'Appearance' }} {{ theme.darkModeSwitchLabel || 'Appearance' }}

Loading…
Cancel
Save