From b1ba868eb610e3f0f51bbfc213eb68a8f4f0511e Mon Sep 17 00:00:00 2001 From: mattpass Date: Mon, 26 Jul 2021 08:56:30 +0100 Subject: [PATCH] Final tidy --- assets/css/editor.css | 2 +- assets/js/icecoder.js | 3 ++- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/assets/css/editor.css b/assets/css/editor.css index 09e3191..8c20390 100644 --- a/assets/css/editor.css +++ b/assets/css/editor.css @@ -12,4 +12,4 @@ .diffNone {background: ''; color: ''} .resultsBar {position: absolute; display: none; width: 12px; height: 100%; top: 0; right: 0; overflow: hidden; pointer-events: none; z-index: 2} -.resultsBar .rBlock {position: absolute; display: block; width: 12px; background: rgba(128,128,128,0.3)} \ No newline at end of file +.resultsBar .rBlock {position: absolute; display: block; width: 12px; background: rgba(128,128,128,0.3)} diff --git a/assets/js/icecoder.js b/assets/js/icecoder.js index e782e2b..4c224b6 100644 --- a/assets/js/icecoder.js +++ b/assets/js/icecoder.js @@ -2850,7 +2850,7 @@ var ICEcoder = { for (let char of input) { // Find index of this char in brackets string let bracketsIndex = brackets.indexOf(char) - + // Not one of the bracket chars, continue to next char if (bracketsIndex === -1) { remainder += char; @@ -2904,6 +2904,7 @@ var ICEcoder = { // Considers selecting next on value input, according to user setting ICEcoder.findReplace(get('find').value, true === ICEcoder.selectNextOnFindInput, false, false); get("find").focus(); + // Reset results display } else { ICEcoder.findReplace(get('find').value, false, false, false); }