mirror of
https://github.com/HeyPuter/puter.git
synced 2026-09-21 04:36:18 +00:00
fix issue with deplot area not showing up
This commit is contained in:
@@ -2608,8 +2608,8 @@ function app_context_menu(app_name, app_title, app_uid) {
|
||||
{
|
||||
label: 'Edit',
|
||||
type: 'primary',
|
||||
action: () => {
|
||||
edit_app_section(app_name, 'edit');
|
||||
action: () => {
|
||||
edit_app_section(app_name);
|
||||
},
|
||||
},
|
||||
{
|
||||
|
||||
@@ -310,7 +310,7 @@ $(document).on('click', '.section-tab-btn', function (e) {
|
||||
// hide all tabs
|
||||
$('.section-tab').hide();
|
||||
// show section
|
||||
$('.section-tab[data-tab="' + $(this).attr('data-tab') + '"]').show();
|
||||
$(`.section-tab[data-tab="${$(this).attr('data-tab')}"]`).show();
|
||||
// remove active class from all tab buttons
|
||||
$('.section-tab-btn').removeClass('active');
|
||||
// add active class to clicked tab button
|
||||
|
||||
Reference in New Issue
Block a user