Spaces:
Running
Running
Upload 10 files
Browse files
src/views/InstructorView.js
CHANGED
|
@@ -859,6 +859,10 @@ export function setupInstructorEvents() {
|
|
| 859 |
}, 10);
|
| 860 |
};
|
| 861 |
|
|
|
|
|
|
|
|
|
|
|
|
|
| 862 |
// Close Modal Logic (Global helper)
|
| 863 |
window.closeBroadcastModal = () => {
|
| 864 |
const modal = document.getElementById('broadcast-modal');
|
|
|
|
| 859 |
}, 10);
|
| 860 |
};
|
| 861 |
|
| 862 |
+
// Expose these functions globally immediately so they're available to button handlers
|
| 863 |
+
window.renderTransposedHeatmap = renderTransposedHeatmap;
|
| 864 |
+
window.showBroadcastModal = showBroadcastModal;
|
| 865 |
+
|
| 866 |
// Close Modal Logic (Global helper)
|
| 867 |
window.closeBroadcastModal = () => {
|
| 868 |
const modal = document.getElementById('broadcast-modal');
|