summaryrefslogtreecommitdiff
path: root/app/assets/javascripts/clone_panel.js
diff options
context:
space:
mode:
Diffstat (limited to 'app/assets/javascripts/clone_panel.js')
-rw-r--r--app/assets/javascripts/clone_panel.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/app/assets/javascripts/clone_panel.js b/app/assets/javascripts/clone_panel.js
index 362e6c5c5ce..00bf54e1478 100644
--- a/app/assets/javascripts/clone_panel.js
+++ b/app/assets/javascripts/clone_panel.js
@@ -14,7 +14,7 @@ export default function initClonePanel() {
$(`a:contains('${selectedCloneOption}')`, $cloneOptions).addClass('is-active');
}
- $('a', $cloneOptions).on('click', e => {
+ $('a', $cloneOptions).on('click', (e) => {
e.preventDefault();
const $this = $(e.currentTarget);
const url = $this.attr('href');