Skip to content

Commit

Permalink
show file buttons in commit mode as well
Browse files Browse the repository at this point in the history
  • Loading branch information
blurymind committed Aug 13, 2024
1 parent c367b85 commit 7a64293
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/public/plugins/plugin-editor.js
Original file line number Diff line number Diff line change
Expand Up @@ -177,7 +177,7 @@ export var PluginEditor = function ({
document.getElementById('js-editor').style.display =
mode === 'edit' ? 'block' : 'none';
document.getElementById('add-remove-plugin-file').style.display =
mode === 'edit' ? 'flex' : 'none';
mode === 'edit' || mode === 'commit' ? 'flex' : 'none';
document.getElementById('diff-editor').style.display =
mode === 'commit' ? 'block' : 'none';
document.getElementById('plugin-differ-commit').style.display =
Expand Down

0 comments on commit 7a64293

Please sign in to comment.