Skip to content

Commit

Permalink
Bug 1941032 - Always Enable Edit Mode is broken
Browse files Browse the repository at this point in the history
  • Loading branch information
dklawren authored Feb 10, 2025
1 parent 7713ff6 commit 73dda60
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion extensions/BugModal/web/bug_modal.js
Original file line number Diff line number Diff line change
Expand Up @@ -139,7 +139,7 @@ $(function() {
// restore edit mode after navigating back
function restoreEditMode() {
if (!$('#editing').val()) {
if (Bugzilla.Storage.get('modal-perm-edit-mode') === 'true') {
if (Bugzilla.Storage.get('modal-perm-edit-mode') === true) {
$('#mode-btn').click();
$('#action-enable-perm-edit').attr('aria-checked', 'true');
}
Expand Down

0 comments on commit 73dda60

Please sign in to comment.