Skip to content

Commit

Permalink
Click handler condition was never met (OctoLinker#868)
Browse files Browse the repository at this point in the history
Co-authored-by: Stefan Buck <[email protected]>
  • Loading branch information
stefanbuck and Stefan Buck authored Apr 1, 2020
1 parent bed093f commit 2a951e1
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 1 deletion.
2 changes: 1 addition & 1 deletion packages/user-interface/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ export const showNotification = ({ body, type = 'info', id = 'common' }) => {
const el = document.createElement('div');
el.innerHTML = `<div class="js-octolinker-flash flash flash-full ${typeClass[type]}">
<div class="container">
<button class="flash-close js-flash-close js-flash-close-${id}" type="button" aria-label="Dismiss this message">
<button class="octolinker-flash-close flash-close js-flash-close js-flash-close-${id}" type="button" aria-label="Dismiss this message">
<svg aria-hidden="true" class="octicon octicon-x" height="16" version="1.1" viewBox="0 0 12 16" width="12"><path d="M7.48 8l3.75 3.75-1.48 1.48L6 9.48l-3.75 3.75-1.48-1.48L4.52 8 .77 4.25l1.48-1.48L6 6.52l3.75-3.75 1.48 1.48z"></path></svg>
</button>
<div class="octolinker-flash-image"></div>
Expand Down
4 changes: 4 additions & 0 deletions packages/user-interface/style.css

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit 2a951e1

Please sign in to comment.