summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorSimon Rettberg2019-09-16 13:34:46 +0200
committerSimon Rettberg2019-09-16 13:34:46 +0200
commit0b06cc6351860b692b0ba10d4dd0bf2e48d70af0 (patch)
treece63c9dc6076dd2cf7efa99678118672eba94056
parent[sysconfig] Allow adding multiple ssh modules to system config (diff)
downloadslx-admin-0b06cc6351860b692b0ba10d4dd0bf2e48d70af0.tar.gz
slx-admin-0b06cc6351860b692b0ba10d4dd0bf2e48d70af0.tar.xz
slx-admin-0b06cc6351860b692b0ba10d4dd0bf2e48d70af0.zip
[dnbd3] fix math
-rw-r--r--modules-available/dnbd3/templates/page-proxy-images.html2
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 '';