Skip to content

Commit

Permalink
fix reload button functionality in history and variables panel
Browse files Browse the repository at this point in the history
  • Loading branch information
LordSimal committed Nov 23, 2023
1 parent 4ffcdd2 commit 7ecc65d
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion webroot/js/modules/Panels/VariablesPanel.js
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ export default (($) => {
} else {
document.cookie = `debugKit_sort=1; path=${window.debugKitWebroot}`;
}
toolbar.loadPanel(toolbar.currentPanel(), 'panelvariables');
toolbar.loadPanel(toolbar.currentPanel(), 'variables');
});
}

Expand Down
2 changes: 1 addition & 1 deletion webroot/js/modules/Toolbar.js
Original file line number Diff line number Diff line change
Expand Up @@ -182,7 +182,7 @@ export default class Toolbar {
});
$(document).on('click', '.js-toolbar-load-panel', function () {
const panelId = $(this).attr('data-panel-id');
that.loadPanel(panelId, 'panelhistory');
that.loadPanel(panelId, 'history');
});
$(document).on('click', '.js-panel-close', () => {
that.hide();
Expand Down

0 comments on commit 7ecc65d

Please sign in to comment.