|
|
@ -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(); |
|
|
|
} |
|
|
|
} |