-
Notifications
You must be signed in to change notification settings - Fork 0
Open
Labels
CRITICALoh no, maybe do that thing right away or don'toh no, maybe do that thing right away or don'tEnhancementSmall feature or requestSmall feature or request
Description
each and every index.html file should have a "onkeydown" attribute which leads to a function that detects the iframe-depth.
eg. chat in website in browser in window detects the main keyboardController() function in "parent.parent.parent.keyboardController()"
which means a function in tools/general.js is doing that and triggers the main function after program-specific functions are triggered.
function localKeyboardController(event) {
1. do stuff for this current program, eg. arrowLeft/right for imageviewer
2. always send event to parent.keyboardController() by:
detectIframeDepth().keyboardController(event); // or so
}
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
CRITICALoh no, maybe do that thing right away or don'toh no, maybe do that thing right away or don'tEnhancementSmall feature or requestSmall feature or request