Skip to content

Commit

Permalink
Renamed a method
Browse files Browse the repository at this point in the history
  • Loading branch information
raph-u committed Apr 19, 2018
1 parent 0cf4172 commit d41891f
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions app/editor/assets/js/editorHandler.js
Original file line number Diff line number Diff line change
Expand Up @@ -63,7 +63,7 @@ class EditorHandler {
*
* @param {Boolean} locked indicates whether the UI should allow code submissions or not
*/
setUIMode(locked) {
enableRunButton(locked) {
this.uiHandler.enableRunButton(!locked);
}

Expand All @@ -89,7 +89,7 @@ class EditorHandler {

// Make sure the editor has content before allowing submissions
this.allowCodeSubmission = this.engine.getValue() !== '';
this.setUIMode(this.allowCodeSubmission);
this.enableRunButton(this.allowCodeSubmission);
});
}
}

0 comments on commit d41891f

Please sign in to comment.