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

View file

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