Backing out fb6c038bf00296480234c971a1664ac01ca1479e, was causing jQuery.param tests...
[jquery.git] / src / effects.js
index 51ce0c5..067383b 100644 (file)
@@ -2,7 +2,7 @@
 
 var elemdisplay = {},
        rfxtypes = /^(?:toggle|show|hide)$/,
-       rfxnum = /^([+\-]=)?([\d+.\-]+)(.*)$/,
+       rfxnum = /^([+\-]=)?([\d+.\-]+)([a-z%]*)$/i,
        timerId,
        fxAttrs = [
                // height animations