Toggle editor buttons when jumping to a source line
This commit is contained in:
@ -631,6 +631,7 @@ var CodeOceanEditor = {
|
||||
|
||||
const frame = $('div.frame[data-filename="' + file + '"]');
|
||||
this.showFrame(frame);
|
||||
this.toggleButtonStates();
|
||||
|
||||
const file_id = frame.find('.editor').data('file-id');
|
||||
this.setActiveFile(frame.data('filename'), file_id);
|
||||
|
Reference in New Issue
Block a user