fixes
This commit is contained in:
Hedgehog 2014-03-27 14:46:44 +04:00
parent 5854f51f3e
commit a89178fe2e
2 changed files with 4 additions and 2 deletions

View File

@ -33,7 +33,7 @@
<script> <script>
$(function(){setInterval("networkUpdate()", 2000); homeIntInit();}) $(function(){setInterval("networkUpdate()", 2000); homeIntInit();})
changeStyle(); changeStyle();
InitOptions; InitOptionsforHome();
</script> </script>
<link rel="icon" type="image/png" href="img/twister_mini.png" /> <link rel="icon" type="image/png" href="img/twister_mini.png" />

View File

@ -107,7 +107,6 @@ function setShowPreviewOpt(){
$('#displayPreview').on('change', function(){ $('#displayPreview').on('change', function(){
localStorage['showPreviewOpt'] = $(this).val(); localStorage['showPreviewOpt'] = $(this).val();
}) })
console.log('lala');
} }
function InitOptions() { function InitOptions() {
@ -117,4 +116,7 @@ function InitOptions() {
setLang(); setLang();
setTheme(); setTheme();
setShowPreviewOpt(); setShowPreviewOpt();
}
function InitOptionsforHome() {
setShowPreviewOpt();
} }