delete test btn

This commit is contained in:
Dobromir Popov
2025-11-12 22:02:26 +02:00
parent 4f43d0d466
commit fcbc475686

View File

@@ -453,21 +453,6 @@
} else {
console.error('✗ window.deleteAnnotation is NOT a function!');
}
// Add test button to page (temporary debugging)
const testButton = document.createElement('button');
testButton.textContent = 'Test Delete Function';
testButton.className = 'btn btn-warning btn-sm';
testButton.style.position = 'fixed';
testButton.style.top = '10px';
testButton.style.right = '10px';
testButton.style.zIndex = '9999';
testButton.onclick = function () {
console.log('Test button clicked');
window.testDeleteFunction();
};
document.body.appendChild(testButton);
console.log('Test button added to page');
}
function renderAnnotationsList(annotations) {