mirror of
https://github.com/zulip/zulip.git
synced 2025-11-01 04:23:46 +00:00
minor: Fix accidental global variable leak in jquery filedrop.
This commit is contained in:
committed by
Tim Abbott
parent
e2c563d14d
commit
42726a07b3
@@ -95,7 +95,7 @@
|
||||
global_progress = []
|
||||
// Zulip modification: keep a pointer to the object that the function
|
||||
// was invoked on.
|
||||
caller = this;
|
||||
var caller = this;
|
||||
|
||||
this.on('drop', drop).on('dragstart', opts.dragStart).on('dragenter', dragEnter).on('dragover', dragOver).on('dragleave', dragLeave);
|
||||
this.on('paste', paste);
|
||||
|
||||
Reference in New Issue
Block a user