summaryrefslogtreecommitdiff
path: root/static
diff options
context:
space:
mode:
Diffstat (limited to 'static')
-rw-r--r--static/index.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/static/index.js b/static/index.js
index 311afc7..ca76f1e 100644
--- a/static/index.js
+++ b/static/index.js
@@ -185,7 +185,7 @@ function insertItem(votes, string) {
var i;
for (i = 0; i < glist.length; i++) {
if (glist[i][0] > votes) continue;
- if (glist[i][0] < votes || glist[i][1] > string) break;
+ if (glist[i][0] < votes || glist[i][1].toLowerCase() > string.toLowerCase()) break;
}
var el = createItemElement(votes, string);
if (i == glist.length) {