mirror of
https://github.com/ntop/ntopng.git
synced 2026-05-02 17:00:10 +00:00
IE9 chart page fixes
This commit is contained in:
parent
8f33e55a3e
commit
b47e4cc071
3 changed files with 13 additions and 3 deletions
|
|
@ -2,7 +2,17 @@
|
|||
'use strict';
|
||||
|
||||
function intoSequence(n) {
|
||||
return Array.from(Array(n).keys());
|
||||
if((Array.prototype.from) && (Array.prototype.keys)) {
|
||||
// Not compatible with IE9
|
||||
return Array.from(Array(n).keys());
|
||||
} else {
|
||||
var arr = Array(n);
|
||||
|
||||
for(i=0; i<n; i++)
|
||||
arr[i] = i;
|
||||
|
||||
return(arr);
|
||||
}
|
||||
}
|
||||
|
||||
var _math = {};
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue