aboutsummaryrefslogtreecommitdiff
path: root/app/scripts
diff options
context:
space:
mode:
authorKumar Priyansh <[email protected]>2020-08-31 01:43:52 +0530
committerKumar Priyansh <[email protected]>2020-08-31 01:43:52 +0530
commite8b65fb08de04cab501517581c59b76e152ed72c (patch)
tree80097e3bee0ac95e4fa0d7a06267d8d490414412 /app/scripts
parent276016cb8582cdee63d10f4e7e6dfe2ba2af6a30 (diff)
downloaddictionary-e8b65fb08de04cab501517581c59b76e152ed72c.tar.xz
dictionary-e8b65fb08de04cab501517581c59b76e152ed72c.zip
Added result divider
Diffstat (limited to 'app/scripts')
-rw-r--r--app/scripts/search.js4
1 files changed, 4 insertions, 0 deletions
diff --git a/app/scripts/search.js b/app/scripts/search.js
index 76dc8f8..c521311 100644
--- a/app/scripts/search.js
+++ b/app/scripts/search.js
@@ -78,6 +78,10 @@ function searchForWord(word) {
currentExample.className = 'example';
results.appendChild(currentExample);
});
+
+ const divider = document.createElement('div');
+ divider.className = 'divider';
+ results.appendChild(divider);
});
});
}