Skip to content

Commit

Permalink
Move loaded into setupIiifCropper
Browse files Browse the repository at this point in the history
  • Loading branch information
cbeer committed Feb 10, 2017
1 parent b8c3008 commit c8f5988
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion app/assets/javascripts/spotlight/crop.es6
Original file line number Diff line number Diff line change
Expand Up @@ -34,6 +34,8 @@ export default class Crop {
}

setupIiifCropper() {
this.loaded = false;

this.renderCropperMap();

if (this.imageLayer) {
Expand Down Expand Up @@ -87,7 +89,6 @@ export default class Crop {

this.tileSource = source;
this.iiifUrlField.val(source);
this.loaded = false;
this.setupIiifCropper();
}

Expand Down

0 comments on commit c8f5988

Please sign in to comment.