mirror of
https://github.com/HeyPuter/puter.git
synced 2026-11-06 22:13:04 +00: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:
1 parent
93e13cdb06
commit
7f050dc61a
1 file changed
+1
-1
@@ -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