diff options
author | Simon Rettberg | 2019-09-16 13:34:46 +0200 |
---|---|---|
committer | Simon Rettberg | 2019-09-16 13:34:46 +0200 |
commit | 0b06cc6351860b692b0ba10d4dd0bf2e48d70af0 (patch) | |
tree | ce63c9dc6076dd2cf7efa99678118672eba94056 /modules-available/dnbd3/templates | |
parent | [sysconfig] Allow adding multiple ssh modules to system config (diff) | |
download | slx-admin-0b06cc6351860b692b0ba10d4dd0bf2e48d70af0.tar.gz slx-admin-0b06cc6351860b692b0ba10d4dd0bf2e48d70af0.tar.xz slx-admin-0b06cc6351860b692b0ba10d4dd0bf2e48d70af0.zip |
[dnbd3] fix math
Diffstat (limited to 'modules-available/dnbd3/templates')
-rw-r--r-- | modules-available/dnbd3/templates/page-proxy-images.html | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/modules-available/dnbd3/templates/page-proxy-images.html b/modules-available/dnbd3/templates/page-proxy-images.html index 3ec4908c..54c18497 100644 --- a/modules-available/dnbd3/templates/page-proxy-images.html +++ b/modules-available/dnbd3/templates/page-proxy-images.html @@ -75,7 +75,7 @@ var genChunk = function(acc) { var line; if (acc !== false) { - if (acc > 15) acc = 15; else acc = (acc + 0.49) | 0; + if (acc > 15) acc = 15; else acc = (acc + 0.5) | 0; if (llast === acc) { lcount++; return ''; |