aboutsummaryrefslogtreecommitdiff
path: root/src/js/arching-kaos-tools.js
diff options
context:
space:
mode:
authorkaotisk <kaotisk@arching-kaos.org>2024-07-13 18:13:06 +0300
committerkaotisk <kaotisk@arching-kaos.org>2024-07-13 18:13:06 +0300
commitf6fc624b2a4c5fff80e8e070b5cb065bcced0aed (patch)
tree8ec19da31a8196cb30cecc053b10ee11a48b4835 /src/js/arching-kaos-tools.js
parentb165b0e78e04d269eca33f78df6b86922fcae56e (diff)
downloadarching-kaos-web-ui-f6fc624b2a4c5fff80e8e070b5cb065bcced0aed.tar.gz
arching-kaos-web-ui-f6fc624b2a4c5fff80e8e070b5cb065bcced0aed.tar.bz2
arching-kaos-web-ui-f6fc624b2a4c5fff80e8e070b5cb065bcced0aed.zip
refactoring
Diffstat (limited to 'src/js/arching-kaos-tools.js')
-rw-r--r--src/js/arching-kaos-tools.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/js/arching-kaos-tools.js b/src/js/arching-kaos-tools.js
index d7f69e0..1de38a9 100644
--- a/src/js/arching-kaos-tools.js
+++ b/src/js/arching-kaos-tools.js
@@ -7,7 +7,7 @@ function getArrayLength(array){
}
function showResult(id){
- const found = document.querySelector(`#${id}`);
+ const found = document.querySelector(`#${id}`).cloneNode(true);
const overlay = document.createElement('div');
overlay.id = 'unique-overlay';
const title = document.createElement('h3');