Fix id name with uBlock Origin
This commit is contained in:
parent
0883e1a6b1
commit
9fb681c619
1 changed files with 27 additions and 18 deletions
|
@ -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,7 +220,7 @@
|
|||
<p id="comment01"></p>
|
||||
<p>
|
||||
<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="fullurl"></li>
|
||||
<li id="markdown"></li>
|
||||
|
@ -225,7 +233,8 @@
|
|||
<a href="#top" class="top w3-button w3-theme w3-right">↥</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
|
||||
<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> /
|
||||
|
@ -234,11 +243,11 @@
|
|||
<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"
|
||||
|
|
Loading…
Reference in a new issue