Commit 6235354cc90f6bc0dce90b303f5f6789644ad469
1 parent
cd27aead
Exists in
master
and in
29 other branches
Workaround for old firefox versions
Showing
1 changed file
with
1 additions
and
0 deletions
Show diff stats
public/javascripts/article.js
... | ... | @@ -156,6 +156,7 @@ jQuery(function($) { |
156 | 156 | }, |
157 | 157 | success: |
158 | 158 | function(text) { |
159 | + text = text.replace('<pre>', '').replace('</pre>', ''); // old firefox | |
159 | 160 | var data = $.parseJSON(text); |
160 | 161 | list_items(data, '#media-upload-results .items', true); |
161 | 162 | if (data.length && data.length > 0) { | ... | ... |