diff options
author | louisremi <louisremi@louisremi-laptop.(none)> | 2010-12-09 10:23:45 +0100 |
---|---|---|
committer | louisremi <louisremi@louisremi-laptop.(none)> | 2010-12-09 10:23:45 +0100 |
commit | 796d25cf07ad63e2008ff4b70db182d33a3533dd (patch) | |
tree | 7dae73fb27eed160c7511d787e21e4b15811db9b /src | |
parent | 8943b427f67766fd8d9e8a95b471ff4077213be2 (diff) | |
download | jquery-796d25cf07ad63e2008ff4b70db182d33a3533dd.tar.gz jquery-796d25cf07ad63e2008ff4b70db182d33a3533dd.zip |
Precising the unit part of rfxnum regex
Diffstat (limited to 'src')
-rw-r--r-- | src/effects.js | 2 |
1 files changed, 1 insertions, 1 deletions
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 |