Skip to content

Latest commit

 

History

History
26 lines (18 loc) · 563 Bytes

README.md

File metadata and controls

26 lines (18 loc) · 563 Bytes
permalink title
pat/cookietrigger/
Cookie Trigger

Cookie Trigger pattern.

Show a DOM element if browser cookies are disabled.

Example

If you do not see a message between the following START and END, you have cookies allowed and this pattern works.

START

Cookies are not enabled. You must enable cookies before you can log in.

END

<div class="portalMessage error pat-cookietrigger">
    Cookies are not enabled. You must enable cookies before you can log in.
</div>