(Grav GitSync) Automatic Commit from RealStickman
This commit is contained in:
parent
2d4c7dbe02
commit
e9c6bc7998
Binary file not shown.
@ -178,7 +178,7 @@ jQuery(document).ready(function() {
|
|||||||
if (!clipInit) {
|
if (!clipInit) {
|
||||||
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();
|
||||||
// NOTE custom stuff to strip # or $ from the beginning of my inline command blocks
|
// NOTE custom stuff to strip # or $ from the beginning of my inline command blocks
|
||||||
return text.replace(/^[\$\s\#\$]{1,4}/gm, '');
|
return text.replace(/^[\$\s\#\$]{1,4}/gm, '');
|
||||||
// original code
|
// original code
|
||||||
|
Loading…
Reference in New Issue
Block a user