mirror of
https://github.com/gchq/CyberChef.git
synced 2025-04-22 15:56:16 -04:00
Bring highlighting back.
Fix backgroundMagic using output result instead of dish value
This commit is contained in:
parent
f1a2cf7efc
commit
35d6c7d79e
5 changed files with 86 additions and 23 deletions
|
@ -126,8 +126,8 @@ class HighlighterWaiter {
|
|||
*/
|
||||
inputScroll(e) {
|
||||
const el = e.target;
|
||||
// document.getElementById("input-highlighter").scrollTop = el.scrollTop;
|
||||
// document.getElementById("input-highlighter").scrollLeft = el.scrollLeft;
|
||||
document.getElementById("input-highlighter").scrollTop = el.scrollTop;
|
||||
document.getElementById("input-highlighter").scrollLeft = el.scrollLeft;
|
||||
}
|
||||
|
||||
|
||||
|
@ -326,7 +326,7 @@ class HighlighterWaiter {
|
|||
* Removes highlighting and selection information.
|
||||
*/
|
||||
removeHighlights() {
|
||||
// document.getElementById("input-highlighter").innerHTML = "";
|
||||
document.getElementById("input-highlighter").innerHTML = "";
|
||||
document.getElementById("output-highlighter").innerHTML = "";
|
||||
document.getElementById("input-selection-info").innerHTML = "";
|
||||
document.getElementById("output-selection-info").innerHTML = "";
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue