Commit 6c66afb7 by ichuang

try cm.refresh in textbox.html to fix codemirror bug with chrome

parent cc02962e
...@@ -29,6 +29,7 @@ $(function(){ ...@@ -29,6 +29,7 @@ $(function(){
, lineNumbers: true , lineNumbers: true
% endif % endif
}); });
cm.refresh();
// codemirror_set["${id}"] = cm; // track it for refreshes // codemirror_set["${id}"] = cm; // track it for refreshes
}); });
</script> </script>
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment