Skip to content

Commit

Permalink
Added explicit defaultVal: true to `settings.controls.disableShorts…
Browse files Browse the repository at this point in the history
…` to futureproof against breaking changes to `settings.load()`
  • Loading branch information
adamlui committed Jan 12, 2025
1 parent 7d0e423 commit cd8da0f
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions youtube-classic/youtube-classic.user.js
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
// ==UserScript==
// @name YouTube™ Classic 📺 — (Remove rounded design + Return YouTube dislikes)
// @version 2025.1.11.2
// @version 2025.1.11.3
// @author Adam Lui, Magma_Craft, Anarios, JRWR, Fuim & hoothin
// @namespace https://github.com/adamlui
// @description Reverts YouTube to its classic design (before all the rounded corners & hidden dislikes) + redirects YouTube Shorts
Expand Down Expand Up @@ -47,7 +47,7 @@
const settings = {

controls: { // displays top-to-bottom in toolbar menu
disableShorts: { type: 'toggle', label: 'Redirect Shorts',
disableShorts: { type: 'toggle', label: 'Redirect Shorts', defaultVal: true,
helptip: 'Redirect Shorts to classic wide player' },
adBlock: { type: 'toggle', label: 'Ad Block', defaultVal: false,
helptip: 'Hide ad thumbnails from homepage layouts' },
Expand Down

0 comments on commit cd8da0f

Please sign in to comment.