mirror of
https://github.com/transmission/transmission.git
synced 2026-04-17 23:54:19 +01:00
Update prefs-dialog.js (#8588)
Without this, the Time dropdown displays 6:45 as 6.75:45
This commit is contained in:
@@ -15,7 +15,7 @@ import {
|
||||
export class PrefsDialog extends EventTarget {
|
||||
static _initTimeDropDown(e) {
|
||||
for (let index = 0; index < 24 * 4; ++index) {
|
||||
const hour = index / 4;
|
||||
const hour = (index / 4) | 0;
|
||||
const mins = (index % 4) * 15;
|
||||
const value = index * 15;
|
||||
const content = `${hour}:${mins || '00'}`;
|
||||
|
||||
Reference in New Issue
Block a user