Skip to content

Commit

Permalink
build list anchors as soon as the DOM is ready
Browse files Browse the repository at this point in the history
- prevents relayout
  • Loading branch information
MartinNowak committed Jul 22, 2013
1 parent 0c24217 commit ee06fd3
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion std.ddoc
Expand Up @@ -97,11 +97,12 @@ function listanchors()
var a = document.getElementById("quickindex");
a.innerHTML = newText;
}
jQuery(document).ready(listanchors);
</script>

</head>

<body onload="listanchors()" class='hyphenate'>
<body class='hyphenate'>

<div id="top">
<div id="search-box">
Expand Down

0 comments on commit ee06fd3

Please sign in to comment.