mirror of
https://github.com/HeyPuter/puter
synced 2024-11-14 22:06:00 +00:00
feat: Reaload App option in the window title bar context menu
This commit is contained in:
parent
a08e9758fe
commit
27c01c9bd9
@ -2068,6 +2068,19 @@ async function UIWindow(options) {
|
||||
// -
|
||||
menu_items.push('-')
|
||||
}
|
||||
//-------------------------------------------
|
||||
// Reload App
|
||||
//-------------------------------------------
|
||||
if(el_window_app_iframe !== null){
|
||||
menu_items.push({
|
||||
html: 'Reload App',
|
||||
onClick: function(){
|
||||
$(el_window_app_iframe).attr('src', $(el_window_app_iframe).attr('src'));
|
||||
}
|
||||
});
|
||||
// -
|
||||
menu_items.push('-')
|
||||
}
|
||||
// -------------------------------------------
|
||||
// Close
|
||||
// -------------------------------------------
|
||||
|
Loading…
Reference in New Issue
Block a user