mirror of
https://github.com/HeyPuter/puter.git
synced 2026-05-07 15:40:14 -05: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:
@@ -71,7 +71,7 @@ async function UIWindowDownloadProgress(options){
|
||||
|
||||
// cancel download button clicked
|
||||
$(el_window).find('.download-cancel-btn').on('click', function(){
|
||||
operation_cancelled[options.operation_id] = true;
|
||||
window.operation_cancelled[options.operation_id] = true;
|
||||
$(el_window).close();
|
||||
})
|
||||
|
||||
|
||||
Reference in New Issue
Block a user