Skip to content

Commit

Permalink
preserve sticky notification on click of any part of the window
Browse files Browse the repository at this point in the history
  • Loading branch information
Lazy-poet committed Sep 9, 2022
1 parent f77e2d4 commit ac862ff
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 12 deletions.
6 changes: 0 additions & 6 deletions public/js/query.js
Original file line number Diff line number Diff line change
Expand Up @@ -111,12 +111,6 @@ export class SearchQueryWidget extends Component {

// LIFECYCLE Methods

componentDidMount() {
$('body').click(function () {
$('.notifications .active').hide('drop', { direction: 'up' }).removeClass('active');
});
}

componentDidUpdate() {
this.hideShowButton();
var type = this.type();
Expand Down
Loading

0 comments on commit ac862ff

Please sign in to comment.