Thomas Bruederli
2013-09-04 4f35bec6b29d6b6b84ae4a4d64f72a139a6e8f32
Don't normalize line breaks (doesn't work properly on IE)
1 files modified
2 ■■■ changed files
program/js/app.js 2 ●●● patch | view | raw | blame | history
program/js/app.js
@@ -7072,7 +7072,7 @@
      if (range && range.parentElement() == obj) {
        len = obj.value.length;
        normalizedValue = obj.value.replace(/\r\n/g, "\n");
        normalizedValue = obj.value; //.replace(/\r\n/g, "\n");
        // create a working TextRange that lives only in the input
        textInputRange = obj.createTextRange();