Commit 4a4a7d015e4ce46d5bec53d3646ee714adf76498

Authored by hitier
1 parent 7f4cbd1d
Exists in rhitier-dev

Load and Plot input_slug data

Showing 1 changed file with 4 additions and 0 deletions   Show diff stats
web/view/home.html.jinja2
@@ -334,6 +334,10 @@ jQuery().ready(function($){ @@ -334,6 +334,10 @@ jQuery().ready(function($){
334 return s < 2; 334 return s < 2;
335 }; 335 };
336 336
  337 + // Enable input
  338 + sw.enableTarget('{{input_slug}}')
  339 +
  340 + // Enable targets
337 $(".targets-filters .target:not(.locked)").on("click", function(e){ 341 $(".targets-filters .target:not(.locked)").on("click", function(e){
338 if ($(this).hasClass('loading')) return false; 342 if ($(this).hasClass('loading')) return false;
339 var switch_on = ! $(this).hasClass('active'); 343 var switch_on = ! $(this).hasClass('active');