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 Jul 23, 2023
1 parent de29b95 commit e67929a
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 e67929a

Please sign in to comment.