]> git.openstreetmap.org Git - osqa.git/blobdiff - forum/skins/default/media/js/osqa.main.js
SPLUNK-128, adding more padding to the content container, now it shouldn't cover...
[osqa.git] / forum / skins / default / media / js / osqa.main.js
index 147cf5482413b98dce69b0b80b72a31aa7f4aeef..0cf354ff19df9bf0142047a11260dc439466753c 100644 (file)
@@ -567,8 +567,8 @@ $(function() {
         var $previewer = $('#previewer');\r
         var $container = $('#editor-metrics');\r
 \r
-        var initial_whitespace_rExp = /^[^A-Za-z0-9]+/gi;\r
-        var non_alphanumerics_rExp = rExp = /[^A-Za-z0-9]+/gi;\r
+        var initial_whitespace_rExp = /^[^A-Za-zА-Яа-я0-9]+/gi;\r
+        var non_alphanumerics_rExp = rExp = /[^A-Za-zА-Яа-я0-9]+/gi;\r
         var editor_interval = null;\r
 \r
         $editor.focus(function() {\r