Skip to content

Commit

Permalink
Update main.js
Browse files Browse the repository at this point in the history
  • Loading branch information
amanharwara committed Apr 8, 2019
1 parent 0d999ff commit 3632afe
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions src/windows/main/js/main.js
Original file line number Diff line number Diff line change
Expand Up @@ -147,10 +147,8 @@ function generateThemeNames() {
}, false]
],
onOpening: (elem) => {
console.log(elem)
let tArray = [];
document.querySelectorAll('.themes-not-loaded-toast').forEach(e => tArray.push(e));
console.log(tArray);
let prevTs = tArray.filter(i => i.id !== elem.id);
prevTs.forEach(el => {
Toast.hide({}, el);
Expand Down

0 comments on commit 3632afe

Please sign in to comment.