diff options
| author | Jules Laplace <julescarbon@gmail.com> | 2018-03-31 19:46:22 +0200 |
|---|---|---|
| committer | Jules Laplace <julescarbon@gmail.com> | 2018-03-31 19:46:22 +0200 |
| commit | 655c5293708300deaf11a8b6a924e7b817bf6288 (patch) | |
| tree | 01312e544f8a66d76a088b48d6fbfce8e7101296 /js/ui/controls.js | |
| parent | 1cd3c039adaeba32478194b6181d8521bfdc2b17 (diff) | |
pankeizing
Diffstat (limited to 'js/ui/controls.js')
| -rw-r--r-- | js/ui/controls.js | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/js/ui/controls.js b/js/ui/controls.js index 8da4994..32a329a 100644 --- a/js/ui/controls.js +++ b/js/ui/controls.js @@ -164,6 +164,14 @@ var controls = (function(){ clipboard.show() clipboard.export_mode() } + controls.send_to_irc = new ClipboardTool (send_to_irc_el) + controls.send_to_irc.use = function(){ + changed && clipboard.upload_png() + clipboard.show() + clipboard.export_mode() + alert('your ascii art is now on display on the IRC channel inside the panke.gallery!') + } + controls.load = new ClipboardTool (load_el) controls.load.use = function(){ // console.log("use") |
