extraneous css removal
This commit is contained in:
+13
-13
@@ -658,19 +658,19 @@ Logic.registerPanel(P_CONTAINERS_LIST, {
|
||||
/* Not sure why extensions require a focus for the doorhanger,
|
||||
however it allows us to have a tabindex before the first selected item
|
||||
*/
|
||||
const focusHandler = () => {
|
||||
const identityList = list.querySelector("tr .clickable");
|
||||
if (identityList) {
|
||||
// otherwise this throws an error when there are no containers present.
|
||||
identityList.focus();
|
||||
document.removeEventListener("focus", focusHandler);
|
||||
}
|
||||
};
|
||||
document.addEventListener("focus", focusHandler);
|
||||
/* If the user mousedown's first then remove the focus handler */
|
||||
document.addEventListener("mousedown", () => {
|
||||
document.removeEventListener("focus", focusHandler);
|
||||
});
|
||||
// const focusHandler = () => {
|
||||
// const identityList = list.querySelector("tr .clickable");
|
||||
// if (identityList) {
|
||||
// // otherwise this throws an error when there are no containers present.
|
||||
// identityList.focus();
|
||||
// document.removeEventListener("focus", focusHandler);
|
||||
// }
|
||||
// };
|
||||
// document.addEventListener("focus", focusHandler);
|
||||
// /* If the user mousedown's first then remove the focus handler */
|
||||
// document.addEventListener("mousedown", () => {
|
||||
// document.removeEventListener("focus", focusHandler);
|
||||
// });
|
||||
return Promise.resolve();
|
||||
},
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user