mirror of
https://github.com/google/blockly.git
synced 2026-01-10 10:27:08 +01:00
Fix lint
This commit is contained in:
@@ -172,8 +172,8 @@ Blockly.svgResize = function(workspace) {
|
||||
* @param {!Event} e Key down event.
|
||||
* @private
|
||||
*/
|
||||
// TODO (https://github.com/google/blockly/issues/1998) handle cases where there are multiple workspaces
|
||||
// and non-main workspaces are able to accept input.
|
||||
// TODO (https://github.com/google/blockly/issues/1998) handle cases where there are
|
||||
// multiple workspaces and non-main workspaces are able to accept input.
|
||||
Blockly.onKeyDown_ = function(e) {
|
||||
if (Blockly.mainWorkspace.options.readOnly || Blockly.utils.isTargetInput(e)
|
||||
|| (Blockly.mainWorkspace.rendered && !Blockly.mainWorkspace.isVisible())) {
|
||||
|
||||
Reference in New Issue
Block a user