(Grav GitSync) Automatic Commit from RealStickman

This commit is contained in:
RealStickman 2022-05-27 13:51:08 +02:00 committed by GitSync
parent cee8c7e533
commit 3327bd05e4
2 changed files with 1 additions and 0 deletions

Binary file not shown.

View File

@ -179,6 +179,7 @@ jQuery(document).ready(function() {
var text, clip = new Clipboard('.copy-to-clipboard', { var text, clip = new Clipboard('.copy-to-clipboard', {
text: function(trigger) { text: function(trigger) {
text = $(trigger).prev('code').text(); text = $(trigger).prev('code').text();
console.log(text)
//return text.replace(/^\$\s/gm, ''); //return text.replace(/^\$\s/gm, '');
return text.replace(/^\$\s\#\s/gm, ''); return text.replace(/^\$\s\#\s/gm, '');
} }