mirror of
https://github.com/HeyPuter/puter.git
synced 2025-02-02 23:28:39 +08:00
chore: Clarify usage of window fields in UIWindowDownloadProgress.js
/puter/src/UI/UIWindowDownloadProgress.js 74:9 error 'operation_cancelled' is not defined no-undef
This commit is contained in:
parent
3de32c2acc
commit
2f6fcdb878
@ -71,7 +71,7 @@ async function UIWindowCopyProgress(options){
|
||||
});
|
||||
|
||||
$(el_window).find('.copy-cancel-btn').on('click', function(e){
|
||||
operation_cancelled[options.operation_id] = true;
|
||||
window.operation_cancelled[options.operation_id] = true;
|
||||
$(el_window).close();
|
||||
})
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user