mirror of
https://github.com/McShelby/hugo-theme-relearn.git
synced 2025-01-31 08:57:15 +00:00
Don't add class highlight to footnote links
This commit is contained in:
parent
ff5ef7c020
commit
377f63e9b0
1 changed files with 1 additions and 1 deletions
|
@ -236,7 +236,7 @@ jQuery(document).ready(function() {
|
||||||
});
|
});
|
||||||
|
|
||||||
$('#top-bar a:not(:has(img)):not(.btn)').addClass('highlight');
|
$('#top-bar a:not(:has(img)):not(.btn)').addClass('highlight');
|
||||||
$('#body-inner a:not(:has(img)):not(.btn)').addClass('highlight');
|
$('#body-inner a:not(:has(img)):not(.btn):not(a[rel="footnote"])').addClass('highlight');
|
||||||
|
|
||||||
var touchsupport = ('ontouchstart' in window) || (navigator.maxTouchPoints > 0) || (navigator.msMaxTouchPoints > 0)
|
var touchsupport = ('ontouchstart' in window) || (navigator.maxTouchPoints > 0) || (navigator.msMaxTouchPoints > 0)
|
||||||
if (!touchsupport){ // browser doesn't support touch
|
if (!touchsupport){ // browser doesn't support touch
|
||||||
|
|
Loading…
Add table
Reference in a new issue