aboutsummaryrefslogtreecommitdiffstats
path: root/docs
diff options
context:
space:
mode:
authorVojta Jina2012-01-13 00:46:03 -0800
committerVojta Jina2012-01-13 01:07:17 -0800
commite7a23e4b6585d497112935a7d00cb6906d8c8417 (patch)
treeb5d1c7542566b9ce6b0232d5a7972bbd7ecde6b7 /docs
parent15fd735793cffe89fdf9662275409cdcdb3e801a (diff)
downloadangular.js-e7a23e4b6585d497112935a7d00cb6906d8c8417.tar.bz2
fix(docs): generate correct ids on h elements to get scrolling working
Diffstat (limited to 'docs')
-rw-r--r--docs/src/dom.js2
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};