From 7ec690cada885ed5b63595c1f6e68a9083f5e03e Mon Sep 17 00:00:00 2001 From: EnixCoda Date: Sun, 1 Aug 2021 12:47:13 +0800 Subject: [PATCH] chore: add hint for code folding --- src/platforms/GitHub/hooks/useGitHubCodeFold.tsx | 1 + 1 file changed, 1 insertion(+) diff --git a/src/platforms/GitHub/hooks/useGitHubCodeFold.tsx b/src/platforms/GitHub/hooks/useGitHubCodeFold.tsx index e176c05..303886d 100644 --- a/src/platforms/GitHub/hooks/useGitHubCodeFold.tsx +++ b/src/platforms/GitHub/hooks/useGitHubCodeFold.tsx @@ -87,6 +87,7 @@ function init() { if (!end) return const toggleElement = document.createElement('div') + toggleElement.setAttribute('title', 'Code Folding by Gitako') toggleElement.setAttribute('role', 'button') toggleElement.classList.add(theCSSClassForToggleElement)