Skip to content

Commit a7106f8

Browse files
authored
Add missing GM.registerMenuCommand
Needed for Tampermonkey
1 parent 8342923 commit a7106f8

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

github-toc.user.js

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
// ==UserScript==
22
// @name GitHub Table of Contents
3-
// @version 2.1.3
3+
// @version 2.1.4
44
// @description A userscript that adds a table of contents to readme & wiki pages
55
// @license MIT
66
// @author Rob Garrison
@@ -9,6 +9,7 @@
99
// @include https://gist.github.com/*
1010
// @run-at document-idle
1111
// @grant GM_registerMenuCommand
12+
// @grant GM.registerMenuCommand
1213
// @grant GM_getValue
1314
// @grant GM.getValue
1415
// @grant GM_setValue

0 commit comments

Comments
 (0)