Remove Multiple Downloads (#1428)

* Removed event listeners

* Added Unbind

* Removed Event Listener

Co-authored-by: Harsh Khandeparkar <34770591+HarshKhandeparkar@users.noreply.github.com>
Co-authored-by: Jeffrey Warren <jeff@unterbahn.com>
This commit is contained in:
Shazeb Ata
2020-01-16 05:26:06 +05:30
committed by Jeffrey Warren
parent cded94509b
commit 423422a61f

View File

@@ -296,6 +296,8 @@ function DefaultHtmlStepUi(_sequencer, options) {
$stepAll('.load-spin').hide();
$step('.load').hide();
$stepAll('.download-btn').off('click');
step.imgElement.src = (step.name == 'load-image') ? step.output.src : step.output;
var imgthumbnail = $step('.img-thumbnail').getDomElem();
for (let index = 0; index < step.linkElements.length; index++) {