delete test btn
This commit is contained in:
@@ -453,21 +453,6 @@
|
|||||||
} else {
|
} else {
|
||||||
console.error('✗ window.deleteAnnotation is NOT a function!');
|
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) {
|
function renderAnnotationsList(annotations) {
|
||||||
|
|||||||
Reference in New Issue
Block a user