Skip to content

Commit

Permalink
fix: remove redundant blocklyNonSelectable class and integrate non-se…
Browse files Browse the repository at this point in the history
…lectability into existing classes google#8328
  • Loading branch information
dakshkanaujia committed Jul 30, 2024
1 parent 2c25da8 commit 5877ead
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions core/menu.ts
Original file line number Diff line number Diff line change
Expand Up @@ -84,8 +84,7 @@ export class Menu {
*/
render(container: Element): HTMLDivElement {
const element = document.createElement('div');
// goog-menu is deprecated, use blocklyMenu. May 2020.
element.className = 'blocklyMenu goog-menu';
element.className = 'blocklyMenu';
element.tabIndex = 0;
if (this.roleName) {
aria.setRole(element, this.roleName);
Expand Down

0 comments on commit 5877ead

Please sign in to comment.