mirror of
https://github.com/publiclab/image-sequencer.git
synced 2025-12-14 04:10:04 +01:00
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:
committed by
Jeffrey Warren
parent
cded94509b
commit
423422a61f
@@ -296,6 +296,8 @@ function DefaultHtmlStepUi(_sequencer, options) {
|
|||||||
$stepAll('.load-spin').hide();
|
$stepAll('.load-spin').hide();
|
||||||
$step('.load').hide();
|
$step('.load').hide();
|
||||||
|
|
||||||
|
$stepAll('.download-btn').off('click');
|
||||||
|
|
||||||
step.imgElement.src = (step.name == 'load-image') ? step.output.src : step.output;
|
step.imgElement.src = (step.name == 'load-image') ? step.output.src : step.output;
|
||||||
var imgthumbnail = $step('.img-thumbnail').getDomElem();
|
var imgthumbnail = $step('.img-thumbnail').getDomElem();
|
||||||
for (let index = 0; index < step.linkElements.length; index++) {
|
for (let index = 0; index < step.linkElements.length; index++) {
|
||||||
|
|||||||
Reference in New Issue
Block a user