Skip to content

Commit

Permalink
Update appearance.js
Browse files Browse the repository at this point in the history
  • Loading branch information
ImprovedTube authored Aug 9, 2024
1 parent 671bfaf commit bebc728
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion js&css/web-accessible/www.youtube.com/appearance.js
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,8 @@
APPEARANCE
------------------------------------------------------------------------------*/
ImprovedTube.YouTubeExperiments = function () {
if (document.documentElement.dataset.pageType === 'video' && window.yt?.config_?.EXPERIMENT_FLAGS) {
if ((this.storage.undo_the_new_sidebar === "true" || this.storage.description === "sidebar")
&& document.documentElement.dataset.pageType === 'video' && window.yt?.config_?.EXPERIMENT_FLAGS) {
ImprovedTube.overrideFlag = function (F, V) {

Check warning on line 7 in js&css/web-accessible/www.youtube.com/appearance.js

View workflow job for this annotation

GitHub Actions / lint-and-test

Trailing spaces not allowed
// Flag, Value, Handler, Target, Property
const H = {

Check warning on line 9 in js&css/web-accessible/www.youtube.com/appearance.js

View workflow job for this annotation

GitHub Actions / lint-and-test

Trailing spaces not allowed
Expand Down

0 comments on commit bebc728

Please sign in to comment.