ember-cli-file-picker
Advanced tools
Comparing version 0.0.3 to 0.0.4
@@ -157,5 +157,10 @@ import Ember from 'ember'; | ||
clearPreview: function() { | ||
this.$('.file-picker__preview').html(''); | ||
this.hidePreview(); | ||
this.$('.file-picker__dropzone').show(); | ||
if (this.get('removePreview')) { | ||
this.$('.file-picker__preview').html(''); | ||
this.hidePreview(); | ||
this.$('.file-picker__dropzone').show(); | ||
// reset | ||
this.set('removePreview', false); | ||
} | ||
}.observes('removePreview'), | ||
@@ -162,0 +167,0 @@ |
{ | ||
"name": "ember-cli-file-picker", | ||
"version": "0.0.3", | ||
"version": "0.0.4", | ||
"directories": { | ||
@@ -5,0 +5,0 @@ "doc": "doc", |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
21264
313