Skip to content

Commit

Permalink
eslint fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
octavioamu committed Mar 22, 2021
1 parent 3edc1ce commit 2ab9fe4
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions app/assets/v2/js/search.js
Original file line number Diff line number Diff line change
Expand Up @@ -44,11 +44,11 @@ if (document.getElementById('gc-search')) {
},
search: async function(e) {
let vm = this;
this.isDirty = false;
let thisDate = new Date();

vm.isDirty = false;
// prevent 2x search at once
if (this.isLoading) {
if (vm.isLoading) {
return;
}

Expand Down Expand Up @@ -90,4 +90,4 @@ const groupBySource = results => {

$(document).on('click', '.gc-search .dropdown-menu', function(event) {
event.stopPropagation();
});
});

0 comments on commit 2ab9fe4

Please sign in to comment.