sheep-market

10.000 sheep created by online workers  https://p.ce9e.org/sheep-market/
git clone https://git.ce9e.org/sheep-market.git

commit
1e5425d2641ad7a3aed4757287009bbeb479c158
parent
c72898b3a8377e774b1c2e781a59a2be390b5eac
Author
Tobias Bengfort <tobias.bengfort@posteo.de>
Date
2023-01-04 15:18
rm dialog polyfill

Diffstat

M index.html 2 --
M sheep.js 3 ---

2 files changed, 0 insertions, 5 deletions


diff --git a/index.html b/index.html

@@ -4,7 +4,6 @@
    4     4     <meta charset="utf-8" />
    5     5     <title>The Sheep Market</title>
    6     6     <link rel="stylesheet" href="style.css" />
    7    -1     <link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/dialog-polyfill/0.5.0/dialog-polyfill.min.css" integrity="sha256-qVjBFbunjrWQ4IikV5dkK1ziW9XKskisX1rUbCIJEhk=" crossorigin="anonymous" />
    8     7     <!-- This is a HTML5 clone of http://thesheepmarket.com -->
    9     8 </head>
   10     9 
@@ -45,6 +44,5 @@
   45    44         </ul>
   46    45     </dialog>
   47    46 
   48    -1     <script src="https://cdnjs.cloudflare.com/ajax/libs/dialog-polyfill/0.5.0/dialog-polyfill.min.js" integrity="sha256-zuWV5NPG/4LAjEtLJIe7ZyTHW7glLsCJcP2za9U7KEM=" crossorigin="anonymous"></script>
   49    47     <script src="sheep.js"></script>
   50    48 </body>

diff --git a/sheep.js b/sheep.js

@@ -101,9 +101,6 @@ if (id) {
  101   101 	setHelperPosition(gridFocus, i, j);
  102   102 }
  103   103 
  104    -1 var dialog = document.querySelector('dialog');
  105    -1 dialogPolyfill.registerDialog(dialog);
  106    -1 
  107   104 document.querySelector('[href="#more"]').addEventListener('click', function(event) {
  108   105 	event.preventDefault();
  109   106 	document.querySelector('#more').showModal();