Fix id name with uBlock Origin

This commit is contained in:
Knah Tsaeb 2021-08-03 14:12:11 +02:00
parent 0883e1a6b1
commit 9fb681c619
1 changed files with 27 additions and 18 deletions

View File

@ -5,7 +5,9 @@
<meta charset="UTF-8">
<meta name="author" content="<% author %>" />
<meta name="generator" content="MinigalNano <% version %>" />
<title><% title %></title>
<title>
<% title %>
</title>
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<link rel="alternate" type="application/rss+xml" title="<% title %>" href="rss.php" />
@ -181,9 +183,15 @@
<body class="w3-black">
<header role="banner" class="w3-container w3-theme-d2">
<div id="innerheader" class="w3-text-theme">
<h1><a href="<% gallery_root %>" id="top"><% title %></a></h1>
<nav role="navigation"><% breadcrumb_navigation %></nav>
<aside><% folder_comment %></aside>
<h1><a href="<% gallery_root %>" id="top">
<% title %>
</a></h1>
<nav role="navigation">
<% breadcrumb_navigation %>
</nav>
<aside>
<% folder_comment %>
</aside>
</div>
<div id="Message" class="Message">
<% messages %>
@ -212,10 +220,10 @@
<p id="comment01"></p>
<p>
<a href="#" id="toggle">View sharelink</a>
<ul style="text-align: left;" id="shareLink">
<li id="thumburl"></li>
<li id="fullurl"></li>
<li id="markdown"></li>
<ul style="text-align: left;" id="listShareLink">
<li id="thumburl"></li>
<li id="fullurl"></li>
<li id="markdown"></li>
</ul>
</p>
</div>
@ -225,20 +233,21 @@
<a href="#top" class="top w3-button w3-theme w3-right">&#8613;</a>
<footer role="contentinfo" class="w3-black w3-center w3-text-theme">
Gallery by <% author %> /
<a href="https://github.com/sebsauvage/MinigalNano" title="Powered by MiniGal Nano" target="_blank">Powered by
MiniGal Nano <% version %></a> /
Inspired theme from Board by Tom Canac /
<a title="<% title %> RSS" href="rss.php">RSS</a> /
<a title="Contact" href="/contact.php">Contact</a>
<a href="https://github.com/sebsauvage/MinigalNano" title="Powered by MiniGal Nano" target="_blank">Powered
by
MiniGal Nano <% version %></a> /
Inspired theme from Board by Tom Canac /
<a title="<% title %> RSS" href="rss.php">RSS</a> /
<a title="Contact" href="/contact.php">Contact</a>
</footer>
<script src="<% gallery_root %>js/lazy.js"></script>
<script src="<% gallery_root %>js/script.js"></script>
<script>
document.querySelector('#shareLink').classList.toggle('toggle');
document.querySelector('#toggle').onclick = function() {
console.log('here');
document.querySelector('#shareLink').classList.toggle('toggle');
}
document.querySelector('#listShareLink').classList.toggle('toggle');
document.querySelector('#toggle').onclick = function () {
event.preventDefault();
document.querySelector('#listShareLink').classList.toggle('toggle');
}
function closeModal() {
document.getElementById("modal01").style.display = "none"