master
Nick Sergeant 2011-12-04 19:57:19 -05:00
parent c95c89f663
commit 11013284db
1 changed files with 9 additions and 1 deletions

View File

@ -998,7 +998,15 @@ jQuery(function($) {
return false;
},
copy: function() {
window.prompt('Text is selected. To copy: press Ctrl+C then <Enter>', this.$raw.text());
var cmd;
if (navigator.platform == 'MacPPC' ||
navigator.platform == 'MacIntel') {
cmd = 'Cmd';
}
else {
cmd = 'Ctrl';
}
window.prompt('Text is selected. To copy: press ' + cmd + '+C then <Enter>', this.$raw.text());
return false;
}
});