Skip to content

Commit

Permalink
Fix displaying class on Refresh Modules button
Browse files Browse the repository at this point in the history
  • Loading branch information
Ilia Rostovtsev committed Dec 20, 2017
1 parent e1f0db9 commit a773a1d
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions authentic-init.pm
Original file line number Diff line number Diff line change
Expand Up @@ -728,10 +728,10 @@ sub get_button_style
$icon =~ s/%icon/files-o/ig;
} elsif ($entry =~ /reboot/ ||
$entry eq 'view_refresh' ||
$entry =~ /refreshmods_title/ ||
$entry =~ /refreshmods/ ||
$entry eq 'index_buttinit')
{
if ($entry =~ /refreshmods_title/) {
if ($entry =~ /refreshmods/) {
$class = "primary ";
} elsif ($entry ne 'reboot_ok' && $entry ne 'index_reboot' ||
$entry eq 'index_buttinit')
Expand Down

0 comments on commit a773a1d

Please sign in to comment.