diff options
Diffstat (limited to 'docs/src/ngdoc.js')
| -rw-r--r-- | docs/src/ngdoc.js | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/docs/src/ngdoc.js b/docs/src/ngdoc.js index 396b41ad..17ea1fa8 100644 --- a/docs/src/ngdoc.js +++ b/docs/src/ngdoc.js @@ -214,6 +214,7 @@ Doc.prototype = { }, shortDescription : function() { + if (!this.description) return this.description; var text = this.description.split("\n")[0]; text = text.replace(/<.+?\/?>/g, ''); text = text.replace(/{/g,'{'); |
