remove some more tab code not used any longer.
This commit is contained in:
@ -275,7 +275,6 @@ var CodeOceanEditor = {
|
|||||||
initializeEventHandlers: function () {
|
initializeEventHandlers: function () {
|
||||||
$(document).on('click', '#results a', this.showOutput.bind(this));
|
$(document).on('click', '#results a', this.showOutput.bind(this));
|
||||||
$(document).on('keypress', this.handleKeyPress.bind(this));
|
$(document).on('keypress', this.handleKeyPress.bind(this));
|
||||||
$('a[data-toggle="tab"]').on('show.bs.tab', this.storeTab.bind(this));
|
|
||||||
this.initializeFileTreeButtons();
|
this.initializeFileTreeButtons();
|
||||||
this.initializeWorkflowButtons();
|
this.initializeWorkflowButtons();
|
||||||
this.initializeWorkspaceButtons();
|
this.initializeWorkspaceButtons();
|
||||||
@ -482,10 +481,6 @@ var CodeOceanEditor = {
|
|||||||
}
|
}
|
||||||
},
|
},
|
||||||
|
|
||||||
storeTab: function (event) {
|
|
||||||
localStorage.tab = $(event.target).parent().index();
|
|
||||||
},
|
|
||||||
|
|
||||||
resetOutputTab: function () {
|
resetOutputTab: function () {
|
||||||
this.clearOutput();
|
this.clearOutput();
|
||||||
$('#hint').fadeOut();
|
$('#hint').fadeOut();
|
||||||
|
Reference in New Issue
Block a user