mirror of
https://github.com/Mottie/tablesorter.git
synced 2025-01-12 15:24:21 +00:00
Docs: change deprecated window load function
This commit is contained in:
parent
92eaecd07e
commit
de8f60172c
@ -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(){
|
||||
|
@ -198,7 +198,7 @@
|
||||
}
|
||||
}
|
||||
|
||||
$(window).load(function(){
|
||||
$(window).bind('load', function(){
|
||||
if ($('#root').length) {
|
||||
$(window).bind('hashchange', function(){
|
||||
showProperty();
|
||||
|
Loading…
Reference in New Issue
Block a user