Skip to content

Commit

Permalink
#69 autoclose setting menu after save settings
Browse files Browse the repository at this point in the history
  • Loading branch information
deevroman committed Dec 12, 2024
1 parent bb4d4bf commit c892141
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions better-osm-org.user.js
Original file line number Diff line number Diff line change
Expand Up @@ -282,6 +282,12 @@ GM_config.init(
}
}
`,
'events':
{
'save': function () {
GM_config.close()
}
}
});

let onInit = config => new Promise(resolve => {
Expand Down

0 comments on commit c892141

Please sign in to comment.