diff --git a/themes/learn2/js/.learn.js.swp b/themes/learn2/js/.learn.js.swp index 8e8e8d5..c4395d7 100644 Binary files a/themes/learn2/js/.learn.js.swp and b/themes/learn2/js/.learn.js.swp differ diff --git a/themes/learn2/js/learn.js b/themes/learn2/js/learn.js index c626fc7..f00990c 100644 --- a/themes/learn2/js/learn.js +++ b/themes/learn2/js/learn.js @@ -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, ''); } });