diff --git a/js/client-teambuilder.js b/js/client-teambuilder.js index 516062a0d..c3a453dd1 100644 --- a/js/client-teambuilder.js +++ b/js/client-teambuilder.js @@ -43,7 +43,12 @@ 'keydown .chartinput': 'chartKeydown', 'keyup .chartinput': 'chartKeyup', 'focus .chartinput': 'chartFocus', - 'change .chartinput': 'chartChange' + 'change .chartinput': 'chartChange', + + // clipboard + 'click .teambuilder-clipboard-data .result': 'clipboardResultSelect', + 'click .teambuilder-clipboard-data': 'clipboardExpand', + 'blur .teambuilder-clipboard-data': 'clipboardShrink' }, dispatchClick: function(e) { e.preventDefault(); @@ -121,8 +126,9 @@ this.$el.html(buf); return; } - buf = '

y\'know zarel this is a pretty good teambuilder

' - buf += '

aww thanks I\'m glad you like it :)

' + buf = '

y\'know zarel this is a pretty good teambuilder

'; + buf += '

aww thanks I\'m glad you like it :)

'; + buf += this.clipboardHTML(); buf += '