Thanks to visit codestin.com Credit goes to github.com
We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent c0d0f4b commit 2db9573Copy full SHA for 2db9573
1 file changed
Lib/profiling/sampling/_heatmap_assets/heatmap_shared.js
@@ -38,3 +38,18 @@ function intensityToColor(intensity) {
38
const rootStyle = getComputedStyle(document.documentElement);
39
return rootStyle.getPropertyValue(`--heat-${level}`).trim();
40
}
41
+
42
+// ============================================================================
43
+// Favicon (Reuse logo image as favicon)
44
45
46
+(function() {
47
+ const logo = document.querySelector('.brand-logo img');
48
+ if (logo) {
49
+ const favicon = document.createElement('link');
50
+ favicon.rel = 'icon';
51
+ favicon.type = 'image/png';
52
+ favicon.href = logo.src;
53
+ document.head.appendChild(favicon);
54
+ }
55
+})();
0 commit comments