aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorTeddy Wing2018-07-28 08:40:28 +0200
committerTeddy Wing2018-07-28 08:40:28 +0200
commit64478a68c29c9955445ad299fd1cfa8e839410a3 (patch)
tree59a74849a3a0fb56c2f2b379ce4951b0e0dbf965
parentadb84c4acd8d8f75b267eaef51ae7a3ccf2babc8 (diff)
downloadyoutube-turn-off-annotations-64478a68c29c9955445ad299fd1cfa8e839410a3.tar.bz2
Add to description of settings button hack
More information was needed to describe why this code exists.
-rw-r--r--youtube-turn-off-annotations.user.js1
1 files changed, 1 insertions, 0 deletions
diff --git a/youtube-turn-off-annotations.user.js b/youtube-turn-off-annotations.user.js
index a549795..3bb5f3b 100644
--- a/youtube-turn-off-annotations.user.js
+++ b/youtube-turn-off-annotations.user.js
@@ -24,6 +24,7 @@
var settings_button = document.querySelector('.ytp-settings-button');
// Load annotations menu item by activating & deactivating the settings menu
+// since the menu starts out empty
settings_button.click();
settings_button.click();