diff options
author | Andreas Baumann <mail@andreasbaumann.cc> | 2015-06-18 13:00:47 +0200 |
---|---|---|
committer | Andreas Baumann <mail@andreasbaumann.cc> | 2015-06-18 13:00:47 +0200 |
commit | e1da1118b2899ad40793a0a6b06e145899a92ee1 (patch) | |
tree | 8f7a31df3b969c4c44e9939f8cc03d8607f38c3c /src/index.html | |
parent | bf36ac5be4f855997f90251e92149b3a14300092 (diff) | |
download | biruda-e1da1118b2899ad40793a0a6b06e145899a92ee1.tar.gz biruda-e1da1118b2899ad40793a0a6b06e145899a92ee1.tar.bz2 |
automatic /status tab refresh and some 0-byte reminations
Diffstat (limited to 'src/index.html')
-rw-r--r-- | src/index.html | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/src/index.html b/src/index.html index 4fc3f08..c6ab63a 100644 --- a/src/index.html +++ b/src/index.html @@ -10,6 +10,17 @@ $( function( ) { $( "#tabs" ).tabs( ); }); + + $(document).ready( function( ) { + refresh_status( ); + }); + + function refresh_status( ) { + $('#tabs').tabs( 'load', 0 ); + } + + var refreshId =setInterval( refresh_status, 1000 ); + </script> </head> |