mirror of
https://github.com/HeyPuter/puter.git
synced 2026-05-04 08:30:39 +00:00
Remove unnecessary onAppend callbacks
This commit is contained in:
@@ -47,8 +47,6 @@ async function UIWindowClaimReferral(options){
|
||||
init_center: true,
|
||||
allow_native_ctxmenu: true,
|
||||
allow_user_select: true,
|
||||
onAppend: function(el_window){
|
||||
},
|
||||
width: 400,
|
||||
dominant: true,
|
||||
window_css: {
|
||||
|
||||
@@ -74,8 +74,6 @@ async function UIWindowItemProperties(item_name, item_path, item_uid, left, top,
|
||||
left: left,
|
||||
top: top,
|
||||
height: height,
|
||||
onAppend: function(el_window){
|
||||
},
|
||||
width: 450,
|
||||
window_class: 'window-item-properties',
|
||||
window_css:{
|
||||
|
||||
@@ -69,8 +69,6 @@ async function UIWindowLoginInProgress(options){
|
||||
show_in_taskbar: false,
|
||||
backdrop: true,
|
||||
stay_on_top: true,
|
||||
onAppend: function(this_window){
|
||||
},
|
||||
window_class: 'window-login-progress',
|
||||
body_css: {
|
||||
width: 'initial',
|
||||
|
||||
@@ -45,10 +45,6 @@ async function UIWindowMyWebsites(options){
|
||||
allow_user_select: true,
|
||||
width: 400,
|
||||
dominant: false,
|
||||
onAppend: function(el_window){
|
||||
},
|
||||
window_css:{
|
||||
},
|
||||
body_css: {
|
||||
padding: '10px',
|
||||
width: 'initial',
|
||||
|
||||
@@ -61,8 +61,6 @@ async function UIWindowQR(options){
|
||||
dominant: true,
|
||||
show_in_taskbar: false,
|
||||
draggable_body: true,
|
||||
onAppend: function(this_window){
|
||||
},
|
||||
window_class: 'window-qr',
|
||||
body_css: {
|
||||
width: 'initial',
|
||||
|
||||
@@ -52,8 +52,6 @@ async function UIWindowRefer(options){
|
||||
init_center: true,
|
||||
allow_native_ctxmenu: true,
|
||||
allow_user_select: true,
|
||||
onAppend: function(el_window){
|
||||
},
|
||||
width: 500,
|
||||
dominant: true,
|
||||
window_css: {
|
||||
|
||||
@@ -51,8 +51,6 @@ async function UIWindowSearch(options){
|
||||
window_class: 'window-search',
|
||||
backdrop: true,
|
||||
center: isMobile.phone,
|
||||
onAppend: function(el_window){
|
||||
},
|
||||
width: 500,
|
||||
dominant: true,
|
||||
|
||||
|
||||
@@ -69,8 +69,6 @@ async function UIWindowSessionList(options){
|
||||
show_in_taskbar: false,
|
||||
update_window_url: false,
|
||||
cover_page: options.cover_page ?? false,
|
||||
onAppend: function(this_window){
|
||||
},
|
||||
window_class: 'window-session-list',
|
||||
body_css: {
|
||||
width: 'initial',
|
||||
|
||||
@@ -68,8 +68,6 @@ async function UIWindowWelcome(options){
|
||||
show_in_taskbar: false,
|
||||
draggable_body: true,
|
||||
fadeIn: 1000,
|
||||
onAppend: function(this_window){
|
||||
},
|
||||
window_class: 'window-welcome',
|
||||
on_close: function(){
|
||||
// save the fact that the user has seen the welcome window
|
||||
|
||||
Reference in New Issue
Block a user