Skip to content

Commit 164f393

Browse files
author
Adam Argyle
committed
fixes eager clipboard copy
1 parent 55939fa commit 164f393

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

app/js/index.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,6 @@ const state = {
1313
const update = transition => {
1414
state.transition = transition
1515
$demo.attr('transition', transition)
16-
copyToClipboard(transition)
1716
}
1817

1918
const copyToClipboard = text => {
@@ -39,6 +38,7 @@ $('dd').on('click', e => {
3938
state.selected = e.currentTarget
4039

4140
update(transition)
41+
copyToClipboard(transition)
4242
})
4343

4444
$('select').on('change', e => {

0 commit comments

Comments
 (0)