diff options
author | Richard Gibson <richard.gibson@gmail.com> | 2012-11-26 03:20:43 -0500 |
---|---|---|
committer | jaubourg <j@ubourg.net> | 2012-11-27 01:59:22 +0100 |
commit | 0877d424e08d57e6f0d1da9a86289fb10d0ee136 (patch) | |
tree | c73d6ee4d3d77264336c19e6cf2d8f94c4afad8f /src/css.js | |
parent | 512b826f9f14e30b715b943547b97aaaf1099f4e (diff) | |
download | jquery-0877d424e08d57e6f0d1da9a86289fb10d0ee136.tar.gz jquery-0877d424e08d57e6f0d1da9a86289fb10d0ee136.zip |
Fix #12959: Optimize library-wide patterns
Diffstat (limited to 'src/css.js')
-rw-r--r-- | src/css.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/css.js b/src/css.js index eb0aed639..334e31a92 100644 --- a/src/css.js +++ b/src/css.js @@ -8,7 +8,7 @@ var curCSS, iframe, iframeDoc, rmargin = /^margin/, rnumsplit = new RegExp( "^(" + core_pnum + ")(.*)$", "i" ), rnumnonpx = new RegExp( "^(" + core_pnum + ")(?!px)[a-z%]+$", "i" ), - rrelNum = new RegExp( "^([-+])=(" + core_pnum + ")", "i" ), + rrelNum = new RegExp( "^([+-])=(" + core_pnum + ")", "i" ), elemdisplay = { BODY: "block" }, cssShow = { position: "absolute", visibility: "hidden", display: "block" }, |