summaryrefslogtreecommitdiff
path: root/program/js/tiny_mce/utils/validate.js
diff options
context:
space:
mode:
Diffstat (limited to 'program/js/tiny_mce/utils/validate.js')
-rw-r--r--program/js/tiny_mce/utils/validate.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/program/js/tiny_mce/utils/validate.js b/program/js/tiny_mce/utils/validate.js
index 2c4dc5cc1..27cbfab81 100644
--- a/program/js/tiny_mce/utils/validate.js
+++ b/program/js/tiny_mce/utils/validate.js
@@ -32,7 +32,7 @@ var Validator = {
},
isSize : function(s) {
- return this.test(s, '^[0-9]+(%|in|cm|mm|em|ex|pt|pc|px)?$');
+ return this.test(s, '^[0-9.]+(%|in|cm|mm|em|ex|pt|pc|px)?$');
},
isId : function(s) {