fix(phys8 ch1): §1 не открывался — присваивание svg.dataset=obj падало в strict-режиме (заменено на expando _body)

This commit is contained in:
Maxim Dolgolyov
2026-06-01 11:03:39 +03:00
parent 6ae7e1877e
commit 2b012f247c
+1 -1
View File
@@ -1562,7 +1562,7 @@ function _initP1_iv6(){
fill: '#0f172a', 'text-anchor': 'middle',
text: b.name
}));
g.dataset = b;
g._body = b;
svg.appendChild(g);
});
/* Термометр (draggable group) */