diff --git a/desktop/js/view_edit.js b/desktop/js/view_edit.js index dd5cf98b7c..de28f32dc2 100644 --- a/desktop/js/view_edit.js +++ b/desktop/js/view_edit.js @@ -598,11 +598,15 @@ document.getElementById('div_pageContainer').addEventListener('click', function( } if (_target = event.target.closest('#div_viewZones .bt_addViewTable')) { - var table = _target.closest('.viewZone').querySelector('table.div_viewData') + let table = _target.closest('.viewZone').querySelector('table.div_viewData') if (_target.getAttribute('data-type') == 'line') { - var line = '