diff options
author | Chad Weider <cweider@oofn.net> | 2012-09-09 14:32:47 -0700 |
---|---|---|
committer | Chad Weider <cweider@oofn.net> | 2012-09-09 14:42:32 -0700 |
commit | 3b5ea88bf5ff5b9e2f8c3a2458384a1cdb5573b9 (patch) | |
tree | 00eda2d028e42301ec04bf9a61125fc423055703 /src/static/js | |
parent | 3312387b0850a51afb1831e05aa4672539ae47a8 (diff) | |
download | etherpad-lite-3b5ea88bf5ff5b9e2f8c3a2458384a1cdb5573b9.zip |
If the file was not found this should be nothing.
Diffstat (limited to 'src/static/js')
-rw-r--r-- | src/static/js/ace.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/static/js/ace.js b/src/static/js/ace.js index 4d720f59..dabe5595 100644 --- a/src/static/js/ace.js +++ b/src/static/js/ace.js @@ -182,7 +182,7 @@ require.setGlobalKeyPath("require");\n\ buffer.push('<style type="text/css">'); for (var i = 0, ii = embededFiles.length; i < ii; i++) { var file = embededFiles[i]; - buffer.push(Ace2Editor.EMBEDED[file].replace(/<\//g, '<\\/')); + buffer.push((Ace2Editor.EMBEDED[file] || '').replace(/<\//g, '<\\/')); } buffer.push('<\/style>'); } |