From e7aa2c45e8ffffae6a2ec90d5e39025cfb740992 Mon Sep 17 00:00:00 2001 From: Victor Savinov Date: Sun, 21 Nov 2021 12:27:10 +0300 Subject: [PATCH] Fixed "playback speed" shortcut --- manifest.json | 2 +- youtube-scripts.js | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/manifest.json b/manifest.json index 737c7d6a0..345285c66 100644 --- a/manifest.json +++ b/manifest.json @@ -3,7 +3,7 @@ "name": "'Improve YouTube!' (Video & YouTube Tools)🎧", "short_name": "ImprovedTube", "description": "__MSG_description_ext__", - "version": "3.783", + "version": "3.785", "default_locale": "en", "icons": { "128": "icons/128.png", diff --git a/youtube-scripts.js b/youtube-scripts.js index 661d12db0..8bed93a10 100644 --- a/youtube-scripts.js +++ b/youtube-scripts.js @@ -3120,7 +3120,7 @@ ImprovedTube.shortcuts = function () { 'shortcut4320p' ].includes(key) === true) { ImprovedTube['shortcutQuality'](key); - } else { + } else if (typeof ImprovedTube[key] === 'function') { ImprovedTube[key](); }