From fc2de20ab8470dd42981b7b08ceb18cf7163d37a Mon Sep 17 00:00:00 2001 From: Ludovic Stephan Date: Sat, 11 Feb 2017 21:38:07 -0200 Subject: [PATCH] use switch + move text --- kfet/static/kfet/js/history.js | 51 +++++++++++++++++++--------------- 1 file changed, 29 insertions(+), 22 deletions(-) diff --git a/kfet/static/kfet/js/history.js b/kfet/static/kfet/js/history.js index bde8b149..47ae038b 100644 --- a/kfet/static/kfet/js/history.js +++ b/kfet/static/kfet/js/history.js @@ -15,18 +15,22 @@ function KHistory(options={}) { var trigramme = opegroup['on_acc_trigramme']; var is_cof = opegroup['is_cof']; - if (opegroup['type'] == 'opegroup') { - for (var i=0; i