From 832949aeeef57d83269961d6061ecee1c26d3fcd Mon Sep 17 00:00:00 2001 From: Bachir Soussi Chiadmi Date: Sun, 30 Apr 2017 11:00:42 +0200 Subject: [PATCH] fixed some gui issues --- assets/js/gui.js | 3 +++ assets/js/setup.js | 2 +- index.html | 1 + templates/main.tpl.html | 3 ++- 4 files changed, 7 insertions(+), 2 deletions(-) diff --git a/assets/js/gui.js b/assets/js/gui.js index c40fdd4..620c100 100644 --- a/assets/js/gui.js +++ b/assets/js/gui.js @@ -68,6 +68,9 @@ $(function() { doc.removeClass("spread"); } }); + if(spread){ + $('[name="spread"]').prop('checked', true).change(); + } //$('[name="hi-res"]').change(function() { //if($(this).is(":checked")) { diff --git a/assets/js/setup.js b/assets/js/setup.js index 5383e94..775a588 100644 --- a/assets/js/setup.js +++ b/assets/js/setup.js @@ -1,3 +1,3 @@ nb_page = 100; -cropmarks = false; +spread = true; diff --git a/index.html b/index.html index d6faac7..6c2d6de 100644 --- a/index.html +++ b/index.html @@ -38,6 +38,7 @@ + diff --git a/templates/main.tpl.html b/templates/main.tpl.html index d45371f..cc4f429 100644 --- a/templates/main.tpl.html +++ b/templates/main.tpl.html @@ -1,5 +1,5 @@ - + Html 2 print @@ -7,6 +7,7 @@ +