theme: use <main>

This commit is contained in:
Sören Weber 2021-09-13 19:24:06 +02:00
parent 2fcaac5d0b
commit 65cb38aec3
No known key found for this signature in database
GPG key ID: 07D17FF580AE7589
4 changed files with 5 additions and 5 deletions
static/js

View file

@ -139,7 +139,7 @@ var getUrlParameter = function getUrlParameter(sPageURL) {
};
// Execute actions on images generated from Markdown pages
var images = $("div#body-inner img").not(".inline");
var images = $("main#body-inner img").not(".inline");
// Wrap image inside a featherlight (to get a full size view in a popup)
images.wrap(function(){
var image =$(this);