diff options
| author | Vojta Jina | 2012-01-13 00:46:03 -0800 |
|---|---|---|
| committer | Vojta Jina | 2012-01-13 01:07:17 -0800 |
| commit | e7a23e4b6585d497112935a7d00cb6906d8c8417 (patch) | |
| tree | b5d1c7542566b9ce6b0232d5a7972bbd7ecde6b7 /docs/src | |
| parent | 15fd735793cffe89fdf9662275409cdcdb3e801a (diff) | |
| download | angular.js-e7a23e4b6585d497112935a7d00cb6906d8c8417.tar.bz2 | |
fix(docs): generate correct ids on h elements to get scrolling working
Diffstat (limited to 'docs/src')
| -rw-r--r-- | docs/src/dom.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/docs/src/dom.js b/docs/src/dom.js index 7363d06b..bda90373 100644 --- a/docs/src/dom.js +++ b/docs/src/dom.js @@ -86,7 +86,7 @@ DOM.prototype = { if (typeof heading == 'string') { var id = heading. replace(/\(.*\)/mg, ''). - replace(/[^\d\w]/mg, '.'). + replace(/[^\d\w\$]/mg, '.'). replace(/-+/gm, '-'). replace(/-*$/gm, ''); anchor = {'id': id}; |
