Docs: change deprecated window load function

This commit is contained in:
Mottie 2015-07-14 21:17:57 -05:00
parent 92eaecd07e
commit de8f60172c
2 changed files with 2 additions and 2 deletions

View File

@ -334,7 +334,7 @@ table.focus-highlight td:before {
<script>
/* highlight hover & focus selectors in the syntax highlighted code */
$(window).load(function(){
$(window).on('load', function(){
setTimeout(function(){
// css
$('.pln:contains(highlight)').each(function(){

View File

@ -198,7 +198,7 @@
}
}
$(window).load(function(){
$(window).bind('load', function(){
if ($('#root').length) {
$(window).bind('hashchange', function(){
showProperty();