From 54b18a52efad237eb242f1ad5dcd17a4a7884ead Mon Sep 17 00:00:00 2001 From: Burhan Nasir Date: Wed, 4 Sep 2024 17:32:46 +0500 Subject: [PATCH] Adjust feedback --- assets/js/src/views/video-edit.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/assets/js/src/views/video-edit.js b/assets/js/src/views/video-edit.js index 6f9836f..1acf745 100644 --- a/assets/js/src/views/video-edit.js +++ b/assets/js/src/views/video-edit.js @@ -414,7 +414,7 @@ var VideoEditView = BrightcoveView.extend({ this.model.set('custom_fields', custom); this.model.set('custom', custom_fields); - const history = document.querySelector('.brightcove-change-history').value; + const history = this.el.querySelector('.brightcove-change-history').value; const historyJson = JSON.stringify(history.split('\n').map((line) => line.trim())); this.model.set('_change_history', historyJson);