Skip to content

Commit cd6145b

Browse files
committed
fix ripple effect for export button
1 parent 90d1abb commit cd6145b

File tree

1 file changed

+5
-2
lines changed

1 file changed

+5
-2
lines changed

Diff for: src/js/page/ui/settings.js

+5-2
Original file line numberDiff line numberDiff line change
@@ -46,6 +46,7 @@ export default class Settings {
4646
this._onChange(event),
4747
);
4848
resetBtn.addEventListener('click', () => this._onReset());
49+
exportBtn.addEventListener('click', () => this._onExport());
4950

5051
// TODO: revisit this
5152
// Stop double-tap text selection.
@@ -96,9 +97,11 @@ export default class Settings {
9697
this.emitter.emit('change');
9798
}
9899

99-
_onUpdateExportLink() {
100-
this._exportRipple.animate();
100+
_onExport() {
101+
this._exportRipple.animate()
102+
}
101103

104+
_onUpdateExportLink() {
102105
const { fingerprint, multipass, pretty, ...settings } = this.getSettings();
103106

104107
const plugins = collectPlugins(settings);

0 commit comments

Comments
 (0)