Skip to content

Commit

Permalink
Item12583: revert to simple floats not to break installation on RHEL …
Browse files Browse the repository at this point in the history
…and SLES

git-svn-id: http://svn.foswiki.org/trunk@16906 0b4bb1d4-4e5a-0410-9cc4-b2b747904278
  • Loading branch information
MichaelDaum authored and MichaelDaum committed Oct 12, 2013
1 parent 40670e4 commit 3d72ab8
Showing 1 changed file with 3 additions and 4 deletions.
7 changes: 3 additions & 4 deletions JQueryPlugin/lib/Foswiki/Plugins/JQueryPlugin.pm
Expand Up @@ -14,9 +14,8 @@ Container for jQuery and plugins
use Foswiki::Plugins ();
use Foswiki::Plugins::JQueryPlugin::Plugins ();

# Simple decimal version, use parse method, no leading "v"
our $RELEASE = '4.83';
use version; our $VERSION = version->parse($RELEASE);
our $VERSION = '4.83';
our $RELEASE = '4.83';
our $SHORTDESCRIPTION = 'jQuery <nop>JavaScript library for Foswiki';
our $NO_PREFS_IN_TOPIC = 1;

Expand Down Expand Up @@ -329,7 +328,7 @@ sub handleJQueryIcon {
my $img = $iconFormat;
$img =~ s/\$iconPath/$iconPath/g;
$img =~ s/\$iconClass/$iconClass/g;
$img =~ s/\$iconAlt/alt='$iconAlt' /g if $iconAlt;
$img =~ s/\$iconAlt/alt='$iconAlt' /g if $iconAlt;
$img =~ s/\$iconTitle/title='$iconTitle' /g if $iconTitle;
$img =~ s/\$(iconAlt|iconTitle)//go;

Expand Down

0 comments on commit 3d72ab8

Please sign in to comment.