Replace remove .size() with .length
Change-Id: I3b74bf341fae3d36dd8c4a14e40fa3c76d353293
This commit is contained in:
parent
a928b67b4f
commit
67a68ab1cf
@ -434,7 +434,7 @@ function getExists(graphs, group, header) {
|
||||
* If not found in the CSV, take the first element
|
||||
*/
|
||||
function displayFocusGraph(graphs, dmin, dmax) {
|
||||
if ($('#focus').children().size() > 0) {
|
||||
if ($('#focus').children().length > 0) {
|
||||
return;
|
||||
}
|
||||
data = getValues(graphs, "total cpu usage", "idl")
|
||||
|
Loading…
x
Reference in New Issue
Block a user