Bläddra i källkod

buttons work1

master
Pascal Gloor 5 år sedan
förälder
incheckning
3c78ed778f
2 ändrade filer med 10 tillägg och 3 borttagningar
  1. 3
    3
      www/index.html
  2. 7
    0
      www/js/autodoc.js

+ 3
- 3
www/index.html Visa fil

@@ -117,9 +117,9 @@
<button type="Button" class="btn btn-sm btn-light" disabled>
<i class="fas fa-file-image"></i>
</button>
<button type="button" class="btn btn-sm btn-light">S</button>
<button type="button" class="btn btn-sm btn-light">M</button>
<button type="button" class="btn btn-sm btn-light">L</button>
<button type="button" class="btn btn-sm btn-light autodoc_home_modal_size">S</button>
<button type="button" class="btn btn-sm btn-light autodoc_home_modal_size">M</button>
<button type="button" class="btn btn-sm btn-light autodoc_home_modal_size">L</button>
</div>
</div>
</div>

+ 7
- 0
www/js/autodoc.js Visa fil

@@ -52,6 +52,13 @@ $(document).ready(function () {
home_modal_page_next();
});

$('.autodoc_home_modal_size').click(function(e) {
var size = $(e.target).html();
$('.autodoc_home_modal_size').removeClass("active");
$(e.target).addClass("active");
home_modal_resize(conf.modalsize[size]);
});
});

$(window).bind("hashchange", function () {

Laddar…
Avbryt
Spara