Skip to content

Commit

Permalink
fix: Fix bug where workspace comments could not be created. (google#6024
Browse files Browse the repository at this point in the history
)
  • Loading branch information
gonfunko authored Mar 28, 2022
1 parent ca6e590 commit 2cf8eb8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion core/contextmenu.js
Original file line number Diff line number Diff line change
Expand Up @@ -342,7 +342,7 @@ exports.commentDuplicateOption = commentDuplicateOption;
* @alias Blockly.ContextMenu.workspaceCommentOption
*/
const workspaceCommentOption = function(ws, e) {
const WorkspaceCommentSvg = goog.module.get('Blockly.WorkspaceCommentSvg');
const {WorkspaceCommentSvg} = goog.module.get('Blockly.WorkspaceCommentSvg');
if (!WorkspaceCommentSvg) {
throw Error('Missing require for Blockly.WorkspaceCommentSvg');
}
Expand Down

0 comments on commit 2cf8eb8

Please sign in to comment.