Skip to content

Commit

Permalink
Item15327: remove fixed-width attribute from button icons
Browse files Browse the repository at this point in the history
  • Loading branch information
MichaelDaum committed May 21, 2024
1 parent d916c15 commit 9b3f698
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions JQueryPlugin/lib/Foswiki/Plugins/JQueryPlugin/BUTTON.pm
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ sub new {
my $this = bless(
$class->SUPER::new(
name => 'Button',
version => '2.2',
version => '2.21',
author => 'Michael Daum',
homepage => 'http://foswiki.org/Extensions/JQueryPlugin',
tags => 'BUTTON',
Expand Down Expand Up @@ -80,7 +80,7 @@ sub handleButton {
if ( defined $icon ) {
if ( defined $icon->{fontName} ) {
$theIcon =
"<i class='jqButtonIcon $icon->{prefix} $icon->{prefix}-fw $theIconName'></i>";
"<i class='jqButtonIcon $icon->{prefix} $theIconName'></i>";
Foswiki::Plugins::JQueryPlugin->getIconService->loadIconFont(
$icon->{fontName} );
}
Expand Down Expand Up @@ -162,7 +162,7 @@ sub handleButton {
__END__
Foswiki - The Free and Open Source Wiki, http://foswiki.org/
Copyright (C) 2010-2023 Foswiki Contributors. Foswiki Contributors
Copyright (C) 2010-2024 Foswiki Contributors. Foswiki Contributors
are listed in the AUTHORS file in the root of this distribution.
NOTE: Please extend that file, not this notice.
Expand Down

0 comments on commit 9b3f698

Please sign in to comment.