Skip to content

Commit

Permalink
Fix an issue where holding finger on the user tiles on the homepage c…
Browse files Browse the repository at this point in the history
…ould create shadow on the explore tiles (dragging indicator)
  • Loading branch information
kiwibrowser committed Feb 5, 2021
1 parent 06d9479 commit 7bdaa1a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion chrome/browser/resources/local_ntp/local_ntp.html
Original file line number Diff line number Diff line change
Expand Up @@ -817,7 +817,7 @@ <h2>Private mode</h2>
} else {
iseditable = true;
globalGrid.dragifierOn();
Array.prototype.forEach.call(document.getElementsByClassName("grid-item"), function (el) { el.style.WebkitAnimation = 'shadow-inset-center 0.4s cubic-bezier(0.250, 0.460, 0.450, 0.940) both'; });
Array.prototype.forEach.call(document.getElementsByClassName("grid-item"), function (el) { if (!el.classList.contains('grid-idea')) { el.style.WebkitAnimation = 'shadow-inset-center 0.4s cubic-bezier(0.250, 0.460, 0.450, 0.940) both'; } });
Array.prototype.forEach.call(document.getElementsByClassName('closeImg'), function (el) { el.classList.remove('closeImgInvisible'); });
}
window.setTimeout(function () { save_grid_snapshot(); }, 100);
Expand Down

0 comments on commit 7bdaa1a

Please sign in to comment.