From 796d25cf07ad63e2008ff4b70db182d33a3533dd Mon Sep 17 00:00:00 2001 From: louisremi Date: Thu, 9 Dec 2010 10:23:45 +0100 Subject: [PATCH] Precising the unit part of rfxnum regex --- src/effects.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/effects.js b/src/effects.js index 51ce0c577..067383bc4 100644 --- a/src/effects.js +++ b/src/effects.js @@ -2,7 +2,7 @@ var elemdisplay = {}, rfxtypes = /^(?:toggle|show|hide)$/, - rfxnum = /^([+\-]=)?([\d+.\-]+)(.*)$/, + rfxnum = /^([+\-]=)?([\d+.\-]+)([a-z%]*)$/i, timerId, fxAttrs = [ // height animations