Editor: Fix tooltip when submit is no longer possible

This commit is contained in:
Sebastian Serth
2023-02-28 00:51:07 +01:00
parent 5ed8f7c812
commit ccbd74b4c7
2 changed files with 1 additions and 7 deletions

View File

@ -415,11 +415,6 @@ var CodeOceanEditor = {
this.regex_for_language.set("ace/mode/java", /(?:\.\/)?(.*\.java):(\d+):/g);
},
initializeTooltips: function () {
$('[data-tooltip]').tooltip();
},
initializeWorkspaceButtons: function () {
$('#submit').one('click', this.submitCode.bind(this));
$('#assess').on('click', this.scoreCode.bind(this));
@ -964,7 +959,6 @@ var CodeOceanEditor = {
this.initializeOutputBarToggle();
this.initializeDescriptionToggle();
this.initializeSideBarTooltips();
this.initializeTooltips();
this.initializeInterventionTimer();
this.initializeSearchButton();
this.initPrompt();