(Grav GitSync) Automatic Commit from RealStickman

This commit is contained in:
RealStickman 2022-05-27 14:05:43 +02:00 committed by GitSync
parent 9005155b8e
commit 5cef085c53
2 changed files with 2 additions and 2 deletions

Binary file not shown.

View File

@ -179,9 +179,9 @@ jQuery(document).ready(function() {
var text, clip = new Clipboard('.copy-to-clipboard', {
text: function(trigger) {
text = $(trigger).prev('code').text();
// NOTE custom stuff to strip # from the beginning of my inline command blocks
// NOTE custom stuff to strip # from the beginning of my inline command blocks
return text.replace(/^[\$\s\#]{1,3}/gm, '');
// original code
// original code
//return text.replace(/^\$\s/gm, '');
}
});