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:39:14 +01:00
parent 93e13cdb06
commit 7f050dc61a
+1 -1
View File
@@ -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();
})