diff --git a/themes/learn2/js/.learn.js.swp b/themes/learn2/js/.learn.js.swp index d3bfdfd..2e121b6 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 80883f0..33d1be7 100644 --- a/themes/learn2/js/learn.js +++ b/themes/learn2/js/learn.js @@ -180,7 +180,7 @@ jQuery(document).ready(function() { text: function(trigger) { text = $(trigger).prev('code').text(); console.log(text); - text = text.substring(1); + text = text.substr(1); console.log(text); //return text.replace(/^\$\s/gm, ''); return text.replace(/^\$\s\#\s/gm, '');