added gui preview option default value
This commit is contained in:
+4
-2
@@ -51,9 +51,11 @@ $(function() {
|
||||
doc.addClass("normal");
|
||||
}
|
||||
});
|
||||
if(preview){
|
||||
$('input[name="preview"]').prop('checked', true).change();
|
||||
}
|
||||
|
||||
$('[name="debug"]').change(function() {
|
||||
|
||||
if($(this).is(":checked")) {
|
||||
doc.addClass("debug");
|
||||
} else {
|
||||
@@ -69,7 +71,7 @@ $(function() {
|
||||
}
|
||||
});
|
||||
if(spread){
|
||||
$('[name="spread"]').prop('checked', true).change();
|
||||
$('[name="spread"]').prop('checked', true).change();
|
||||
}
|
||||
|
||||
//$('[name="hi-res"]').change(function() {
|
||||
|
||||
+3
-1
@@ -1,3 +1,5 @@
|
||||
|
||||
nb_page = 100;
|
||||
// ui options default values
|
||||
// TODO: add default values for all gui options
|
||||
preview = true;
|
||||
spread = true;
|
||||
|
||||
Reference in New Issue
Block a user