diff --git a/static/js/apiDialog.js b/static/js/apiDialog.js index b04eb060..926715b2 100644 --- a/static/js/apiDialog.js +++ b/static/js/apiDialog.js @@ -226,9 +226,8 @@ pandora.ui.apiDialog = function() { var code = actions[id].code[1], source = actions[id].code[0], line = Math.round(Ox.last(source.split(':')) || 0), - $code, $doc; - $doc = getDoc(id) - .appendTo($text); + $code, + $doc = getDoc(actions[id]).appendTo($text); $('
') .html('
' + source + '') .appendTo($text);