From f81a2e4af40f5a8bfaaf0667a93987c2c9442fbb Mon Sep 17 00:00:00 2001 From: Lucas Larroche Date: Sun, 19 Dec 2021 11:15:58 +0700 Subject: [PATCH] Update modal javascript example link --- docs/modal.html | 2 +- docs/src/modal.html | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/docs/modal.html b/docs/modal.html index 38dfbbaa..785cbbdf 100644 --- a/docs/modal.html +++ b/docs/modal.html @@ -62,7 +62,7 @@ </a> </footer> </article> -</dialog>

Pico does not include JavaScript code. You will need to implement your JS to interact with modals.

As a starting point, you can look at the JavaScript used in this documentation: js/modal.js.

To make a modal appear, add the open attribute to the <dialog> container.

<!-- Open modal-->
+</dialog>

Pico does not include JavaScript code. You will need to implement your JS to interact with modals.

As a starting point, you can look at the JavaScript used in this documentation: js/modal.js.

To make a modal appear, add the open attribute to the <dialog> container.

<!-- Open modal-->
 <dialog open>
   <article>
   
diff --git a/docs/src/modal.html b/docs/src/modal.html
index 4759285a..86597cc3 100644
--- a/docs/src/modal.html
+++ b/docs/src/modal.html
@@ -140,7 +140,7 @@
 
           

Pico does not include JavaScript code. You will need to implement your JS to interact with modals.

-

As a starting point, you can look at the JavaScript used in this documentation: js/modal.js.

+

As a starting point, you can look at the JavaScript used in this documentation: js/modal.js.

To make a modal appear, add the open attribute to the <dialog> container.