Skip to content

Commit

Permalink
Update onclick function (#431)
Browse files Browse the repository at this point in the history
  • Loading branch information
line47 authored Jun 7, 2019
1 parent e4ee035 commit 5b94786
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions packages/docs/src/scripts/components/Footer.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -78,8 +78,8 @@ const Footer = () => {
<li>
<button
type="button"
className="ds-c-button ds-c-button--small ds-c-button--transparent ds-u-padding--0"
onClick="window.location.href = '#';"
className="ds-c-button ds-c-button--small ds-c-button--transparent ds-u-padding--0 titlelink"
onClick={() => (window.location.href = '#')}
data-privacy-policy="modal-trigger-footer"
>
Privacy settings
Expand Down

0 comments on commit 5b94786

Please sign in to comment.