mirror of
https://github.com/McShelby/hugo-theme-relearn.git
synced 2025-05-25 03:04:19 +00:00
deploy: 686ea66e67
This commit is contained in:
parent
5a34dea278
commit
fbcdb0358f
264 changed files with 9238 additions and 6710 deletions
js
|
@ -987,7 +987,7 @@ function initSwipeHandler(){
|
|||
}
|
||||
|
||||
function initImage(){
|
||||
document.querySelectorAll( '.lightbox' ).forEach( function(e){ e.addEventListener("keydown", imageEscapeHandler); }, false);
|
||||
document.querySelectorAll( '.lightbox-back' ).forEach( function(e){ e.addEventListener("keydown", imageEscapeHandler); }, false);
|
||||
}
|
||||
|
||||
function clearHistory() {
|
||||
|
@ -1098,7 +1098,7 @@ function mark() {
|
|||
topbarLinks[i].classList.add( 'highlight' );
|
||||
}
|
||||
|
||||
var bodyInnerLinks = document.querySelectorAll( '#body-inner a:not(.lightbox-link):not(.btn):not(.lightbox)' );
|
||||
var bodyInnerLinks = document.querySelectorAll( '#body-inner a:not(.lightbox-link):not(.btn):not(.lightbox-back)' );
|
||||
for( var i = 0; i < bodyInnerLinks.length; i++ ){
|
||||
bodyInnerLinks[i].classList.add( 'highlight' );
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue