File tree 1 file changed +4
-4
lines changed
1 file changed +4
-4
lines changed Original file line number Diff line number Diff line change 41
41
/* for testing: ".ghic-hidden { opacity: 0.3; } */
42
42
body .ghic-hidden { display:none !important; }
43
43
.ghic-hidden-participant, body .ghic-avatar svg, .dropdown-item.ghic-checked .ghic-count,
44
- .ghic-hideReactions .TimelineItem .comment-reactions,
44
+ .ghic-hide-reactions .TimelineItem .comment-reactions,
45
45
.select-menu-header.ghic-active + .select-menu-list .dropdown-item:not(.ghic-has-content) { display:none; }
46
46
.ghic-menu-wrapper input[type=checkbox] { height:0; width:0; visibility:hidden; position:absolute; }
47
47
.ghic-menu-wrapper .ghic-toggle { cursor:pointer; text-indent:-9999px; width:20px; height:10px;
355
355
if ( name === "plus1" ) {
356
356
hidePlus1 ( init , item ) ;
357
357
} else if ( item && name === "reactions" ) {
358
- toggleClass ( $ ( "body" ) , "ghic-hideReactions " , isHidden ) ;
359
- toggleClass ( item , "ghic-has-content" , $$ ( ".has-reactions" ) . length - 1 > 0 ) ;
358
+ toggleClass ( $ ( "body" ) , "ghic-hide-reactions " , isHidden ) ;
359
+ toggleClass ( item , "ghic-has-content" , $$ ( ".has-reactions" ) . length > 0 ) ;
360
360
// make first comment reactions visible
361
- item = $ ( ".TimelineItem .has -reactions" ) ;
361
+ item = $ ( ".TimelineItem .comment -reactions" ) ;
362
362
if ( item ) {
363
363
item . style . display = "block" ;
364
364
}
You can’t perform that action at this time.
0 commit comments