Skip to content

Action shortcut button broken #182

@barnettwilliam

Description

@barnettwilliam

Broken functionality from the initial refactoring of the epsilon playground that assumes a fixed action button rather than the flexibly defined panels and buttons of the education platform.

There can now be multiple action buttons so we need to add a way for a teacher to specify any shortcuts in the activity config. The following code needs to be refactored to support this.

$(window).keydown(function(event) {
if ((event.metaKey && event.keyCode == 83) || (event.ctrlKey && event.keyCode == 83)) {
runProgram();
event.preventDefault();
}
});

Found in PR #180 (comment)

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    Status

    Bugs

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions