Commit 014417cf authored by Pierre-Yves Chibon's avatar Pierre-Yves Chibon

Let's ensure the element we want to use exists and bail otherwise

parent d7d58309
......@@ -175,6 +175,9 @@
_br += res.message[i]
var el = $('#diff-file-1');
if (!el){
'<div class=""><span class="oi" data-glyph="fork"></span> '
+ _br + '</div>');
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