diff --git a/themes/learn2/js/.learn.js.swp b/themes/learn2/js/.learn.js.swp index 7bba88f..92b153a 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 b033bc9..7987db9 100644 --- a/themes/learn2/js/learn.js +++ b/themes/learn2/js/learn.js @@ -179,12 +179,8 @@ jQuery(document).ready(function() { var text, clip = new Clipboard('.copy-to-clipboard', { text: function(trigger) { text = $(trigger).prev('code').text(); - console.log(text); + //NOTE custom stuff to strip # from the beginning of my inline command blocks text = text.replace(/^[\$\s\#]*/gm, ''); - console.log(text); - //text = text.substr(1); - //console.log(text); - //return text.replace(/^\$\s/gm, ''); return text.replace(/^\$\s\#\s/gm, ''); } });