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:
Sam Atkins 2024-05-01 16:32:51 +01:00
parent 3de32c2acc
commit 2f6fcdb878

View File

@ -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();
})