Skip to content

Commit

Permalink
Fix: Filter looses color on device choose (jens-maus#617)
Browse files Browse the repository at this point in the history
  • Loading branch information
psi-4ward committed May 16, 2019
1 parent ba22312 commit 0688b63
Showing 1 changed file with 8 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -28652,7 +28652,14 @@ iseFilter.prototype = {
this.bTypeAlarm = false;
this.bTypeString = false;
localStorage.removeItem('iseSFilters_' + this.pageID);
jQuery('.FilterBtn').css('color', '');
var filterButtons = document.querySelectorAll('.FilterSetButton[onclick*=' + this.pageID + ']');
filterButtons.forEach(function(el) {
try {
el.parentElement.parentElement.querySelector('.FilterBtn').style.color = '';
} catch(e) {
console.error(e);
}
});
conInfo("Alle Filter wurden zur�ckgesetzt.");
}
};
Expand Down

0 comments on commit 0688b63

Please sign in to comment.