(Grav GitSync) Automatic Commit from RealStickman
This commit is contained in:
parent
03c27c343f
commit
54f8a00766
Binary file not shown.
@ -178,10 +178,10 @@ jQuery(document).ready(function() {
|
||||
if (!clipInit) {
|
||||
var text, clip = new Clipboard('.copy-to-clipboard', {
|
||||
text: function(trigger) {
|
||||
text = $(trigger).prev('code').text();
|
||||
// NOTE custom stuff to strip # or $ from the beginning of my inline command blocks
|
||||
text = $(trigger).prev('code').text
|
||||
// NOTE custom stuff to strip # or $ from the beginning of my inline command blocks
|
||||
return text.replace(/^[\$\s\#\$]{1,3}/gm, '');
|
||||
// original code
|
||||
// original code
|
||||
//return text.replace(/^\$\s/gm, '');
|
||||
}
|
||||
});
|
||||
|
Loading…
Reference in New Issue
Block a user