Skip to content

Commit

Permalink
Remove testing logs in vitals.js
Browse files Browse the repository at this point in the history
  • Loading branch information
mpolidori committed Jul 6, 2021
1 parent a018a10 commit 43f30c5
Showing 1 changed file with 0 additions and 4 deletions.
4 changes: 0 additions & 4 deletions ckanext/querytool/fanstatic/javascript/vitals.js
Original file line number Diff line number Diff line change
Expand Up @@ -836,8 +836,6 @@ function checkTableCat(selected,chart_number){
$('body').on('change','[id^=table_second_value_]',function(e){
var selected = $(this).val();
var chart_number = this.id.split('_').slice(-1)[0];
console.log(selected)
console.log('SECOND VAL')

if($(`#table_main_value_${chart_number} option`).filter(":selected").val() == selected && selected != ''){
$($(`#table_second_value_${chart_number}`)).val("")
Expand All @@ -854,8 +852,6 @@ $('body').on('change','[id^=table_second_value_]',function(e){
$('body').on('change','[id^=table_category_name_]',function(e){
var selected = $(this).val();
var chart_number = this.id.split('_').slice(-1)[0];
console.log(selected)
console.log('CAT NAME')

if($(`#table_main_value_${chart_number} option`).filter(":selected").val() == selected && selected != ''){
$($(`#table_category_name_${chart_number}`)).val("")
Expand Down

0 comments on commit 43f30c5

Please sign in to comment.