From df343cc593fd106a27f61e7426d3e9d052bc71e5 Mon Sep 17 00:00:00 2001 From: RealStickman Date: Fri, 27 May 2022 13:58:01 +0200 Subject: [PATCH] (Grav GitSync) Automatic Commit from RealStickman --- themes/learn2/js/.learn.js.swp | Bin 28672 -> 28672 bytes themes/learn2/js/learn.js | 2 +- 2 files changed, 1 insertion(+), 1 deletion(-) diff --git a/themes/learn2/js/.learn.js.swp b/themes/learn2/js/.learn.js.swp index d3bfdfdda9c10bdacfe519bc3f7599454a11675b..2e121b6c26bd6bcd1ca4524510555a8fb91b321b 100644 GIT binary patch delta 84 zcmZp8z}WDBQ6b47%+puFLeGc+2m}}yw(OaZG)+i^!L^r}p(sDUWa2`VjV=fLSvy!6 l7-mf74EW5e!_L4U2E;emfFheY1DCK)UKKWFvt#&v2>=J985IBk delta 88 zcmZp8z}WDBQ6b47%+puFLeGc+2m}}yChVDz)Gs8$;M&W~P?VovGI62GMwbKrtgWmJ p3{xj_27Kn#WM^Oy2I8x1K#|RyflF8?ZwQ;noSB!t*)e>-1OQ)y8XN!s 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, '');