Browse Source

update

fixes
master
Hedgehog 11 years ago
parent
commit
a89178fe2e
  1. 2
      home.html
  2. 4
      js/options.js

2
home.html

@ -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" />

4
js/options.js

@ -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() {
@ -118,3 +117,6 @@ function InitOptions() {
setTheme(); setTheme();
setShowPreviewOpt(); setShowPreviewOpt();
} }
function InitOptionsforHome() {
setShowPreviewOpt();
}
Loading…
Cancel
Save