(Grav GitSync) Automatic Commit from RealStickman

This commit is contained in:
RealStickman 2022-05-27 13:52:01 +02:00 committed by GitSync
parent fe23318f34
commit 67e1fd0ae2
2 changed files with 3 additions and 1 deletions

Binary file not shown.

View File

@ -179,7 +179,9 @@ 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) console.log(text);
text = text.replace(/\s\#\s/gm, '');
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, '');
} }