2
0
mirror of https://github.com/fhem/fhem-mirror.git synced 2025-03-12 22:56:34 +00:00

statistics2: older mobile devices do not support ES6 syntax features (Forum: 73792)

git-svn-id: https://svn.fhem.de/fhem/trunk@14780 2b470e98-0d58-463d-a4d8-8e2adae1ed80
This commit is contained in:
markusbloch 2017-07-24 20:43:29 +00:00
parent 9ba421fe12
commit de37513da5

View File

@ -30,8 +30,9 @@ function rand(length) {
return text;
}
function drawGooglePieChart(data, el, subst, sort="byKey", threshold) {
function drawGooglePieChart(data, el, subst, sort, threshold) {
sort = (sort == undefined ? "byKey" : sort);
var id = rand(5);
el.append("");