From b91007817828495c1b2a1ab2d44d2e4f113e8134 Mon Sep 17 00:00:00 2001 From: John McLear Date: Sun, 7 Jun 2020 08:24:07 +0000 Subject: [PATCH] clean up --- src/static/js/ace2_inner.js | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/src/static/js/ace2_inner.js b/src/static/js/ace2_inner.js index 90b91bb23..ef8dc8247 100644 --- a/src/static/js/ace2_inner.js +++ b/src/static/js/ace2_inner.js @@ -5184,8 +5184,7 @@ function Ace2Inner(){ if(t === listType) togglingOn = false; if(togglingOn){ -// console.warn("this fucking line"); -// mods.push([n, allLinesAreList ? 'indent' + level : (t ? type + level : type + '1')]); + mods.push([n, allLinesAreList ? 'indent' + level : (t ? type + level : type + '1')]); }else{ // scrap the entire indentation and list type if(level === 1){ // if outdending but are the first item in the list then outdent @@ -5194,7 +5193,7 @@ function Ace2Inner(){ // else change to indented not bullet if(level > 1){ setLineListType(n, ''); // remove bullet - setLineListType(n, "indent"+level); // outdent + setLineListType(n, "indent"+level); // in/outdent } }