Merge pull request #2328 from int2001/dev
since kHZ is no longer part of the table, substring isn't needed
这个提交包含在:
当前提交
4c700759ab
共有 1 个文件被更改,包括 1 次插入 和 1 次删除
|
|
@ -76,7 +76,7 @@ $(function() {
|
||||||
// var table=$('.spottable').DataTable();
|
// var table=$('.spottable').DataTable();
|
||||||
table.rows().every(function() {
|
table.rows().every(function() {
|
||||||
var d=this.data();
|
var d=this.data();
|
||||||
var distance=Math.abs(parseInt(d[1].substring(0,d[1].length-4))-qrg);
|
var distance=Math.abs(parseInt(d[1])-qrg);
|
||||||
if (distance<=20) {
|
if (distance<=20) {
|
||||||
distance++;
|
distance++;
|
||||||
alpha=(.5/distance);
|
alpha=(.5/distance);
|
||||||
|
|
|
||||||
正在加载…
在新工单中引用