diff options
| author | Daniel Micay <danielmicay@gmail.com> | 2019-04-29 15:50:30 -0400 |
|---|---|---|
| committer | Daniel Micay <danielmicay@gmail.com> | 2019-04-29 15:50:30 -0400 |
| commit | fd933b281f0427b7de4b23f4fdd3c48929754b1b (patch) | |
| tree | d21e4a3f1bc34f1c80c943596376fbb33bf78288 /static | |
| parent | 5667ed8291df1a667ebd67bdca1cbee7589608be (diff) | |
tweaks for releases sort order
Diffstat (limited to 'static')
| -rw-r--r-- | static/releases.js | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/static/releases.js b/static/releases.js index 21d53c99..fb9c6473 100644 --- a/static/releases.js +++ b/static/releases.js @@ -26,10 +26,10 @@ function deviceModel(device) { return "Pixel 2"; } if (device === "marlin") { - return "Pixel XL (legacy)"; + return "Pixel 1 XL (legacy)"; } if (device === "sailfish") { - return "Pixel (legacy)"; + return "Pixel 1 (legacy)"; } return device; } @@ -77,7 +77,7 @@ for (const channel of channels) { const list = document.getElementById(channel); for (const item of list.children) { - if (model < item.dataset.model) { + if (model > item.dataset.model) { list.insertBefore(release, item); return; } |
