From 636d2c0927d2272089d317944bebd1dddbefb975 Mon Sep 17 00:00:00 2001 From: Patrick Fairbank Date: Sat, 4 Apr 2020 14:23:08 -0700 Subject: [PATCH] Only send websocket message to update team FTA notes if notes changed. --- static/js/field_monitor_display.js | 12 +++++++----- 1 file changed, 7 insertions(+), 5 deletions(-) diff --git a/static/js/field_monitor_display.js b/static/js/field_monitor_display.js index 9b19255..9ae8c18 100644 --- a/static/js/field_monitor_display.js +++ b/static/js/field_monitor_display.js @@ -128,14 +128,16 @@ var handleEventStatus = function(data) { // Makes the team notes section editable and handles saving edits to the server. var editFtaNotes = function(element) { - var teamNotesElement = $(element); + var teamNotesTextElement = $(element); var textArea = $("