From a50d7344d22b0856c8b68c04f64ba608f2087ab7 Mon Sep 17 00:00:00 2001 From: tannerwuster Date: Thu, 12 Dec 2024 15:40:48 -0700 Subject: [PATCH] clean up code --- modules/ui/maproulette_menu.js | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/modules/ui/maproulette_menu.js b/modules/ui/maproulette_menu.js index 89385ee3f..b3450704e 100644 --- a/modules/ui/maproulette_menu.js +++ b/modules/ui/maproulette_menu.js @@ -182,10 +182,10 @@ export function uiMapRouletteMenu(context) { console.error('No task selected'); return; } - console.log('Current d in fixedIt:', d); // Debugging log - _qaItem._status = 1; // Update the status of the task - _actionTaken = 'FIXED'; // Set the action taken - submitTask(d3_event, _qaItem); // Submit the task with the updated status + console.log('Current d in fixedIt:', d); + _qaItem._status = 1; + _actionTaken = 'FIXED'; + submitTask(d3_event, _qaItem); } @@ -282,6 +282,7 @@ export function uiMapRouletteMenu(context) { mapRouletteMenu.error = function(val) { if (!arguments.length) return _qaItem; _qaItem = val; + console.log('_qaItem',_qaItem); _actionTaken = ''; return mapRouletteMenu; };