Copy event collision
parent
c5cfdd584a
commit
ac139a57f1
|
@ -35,7 +35,7 @@
|
||||||
'click a.embed': 'embed',
|
'click a.embed': 'embed',
|
||||||
'click a.expand': 'expand',
|
'click a.expand': 'expand',
|
||||||
'click .container': 'selectFromClick',
|
'click .container': 'selectFromClick',
|
||||||
'copy': 'copy',
|
'copyRaw': 'copy',
|
||||||
'copyClose': 'copyClose',
|
'copyClose': 'copyClose',
|
||||||
'detail': 'detail',
|
'detail': 'detail',
|
||||||
'deselect': 'deselect',
|
'deselect': 'deselect',
|
||||||
|
@ -162,7 +162,7 @@
|
||||||
$document.bind('keydown', 'c', function(e) {
|
$document.bind('keydown', 'c', function(e) {
|
||||||
if ($selected) {
|
if ($selected) {
|
||||||
e.preventDefault();
|
e.preventDefault();
|
||||||
$selected.trigger('copy');
|
$selected.trigger('copyRaw');
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
$document.bind('keydown', 'e', function() {
|
$document.bind('keydown', 'e', function() {
|
||||||
|
|
Loading…
Reference in New Issue