Set reaction's z-index to show the tooltip in front of other comments (#20035)
This commit is contained in:
parent
22f836edc2
commit
40e63a16c9
1 changed files with 1 additions and 0 deletions
|
|
@ -95,6 +95,7 @@ function initializeCommentsPage() {
|
|||
var butts = document.getElementsByClassName('reaction-button');
|
||||
for (var i = 0; i < butts.length; i++) {
|
||||
var butt = butts[i];
|
||||
butt.style.zIndex = butts.length - i;
|
||||
butt.onclick = function (event) {
|
||||
var thisButt = this;
|
||||
event.preventDefault();
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue