projects
/
collection4.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
"instance_data_json" action: Implement the "resolution" parameter.
[collection4.git]
/
share
/
collection.js
diff --git
a/share/collection.js
b/share/collection.js
index
e071f2f
..
7bcdc54
100644
(file)
--- a/
share/collection.js
+++ b/
share/collection.js
@@
-428,7
+428,7
@@
function inst_fetch_data (inst, begin, end) /* {{{ */
params.action = "instance_data_json";
params.begin = begin || inst.begin;
params.end = end || inst.end;
params.action = "instance_data_json";
params.begin = begin || inst.begin;
params.end = end || inst.end;
- params.resolution =
Math.round ((params.end - params.begin) / c4.config.width)
;
+ params.resolution =
(params.end - params.begin) / c4.config.width
;
$.getJSON ("collection.fcgi", params,
function (data)
$.getJSON ("collection.fcgi", params,
function (data)