From bce4bbef1608f6a88831c25867403c1d3e3fb364 Mon Sep 17 00:00:00 2001 From: Stewart Allen Date: Thu, 14 Dec 2017 20:41:19 -0500 Subject: [PATCH] highlight selected process --- js/kiri.js | 3 +++ 1 file changed, 3 insertions(+) diff --git a/js/kiri.js b/js/kiri.js index ca7ceee6..19b7ffb9 100644 --- a/js/kiri.js +++ b/js/kiri.js @@ -1860,6 +1860,9 @@ self.kiri.license = exports.LICENSE; load.setAttribute('load', sk); load.onclick = loadNamedSetting; load.appendChild(DOC.createTextNode(sk)); + if (sk == settings.process.processName) { + load.setAttribute('class', 'selected') + } del.setAttribute('del', sk); del.setAttribute('title', "remove '"+sk+"'");