fix: три бага — drawGlow closure, replaceChild null guard, stoich text overflow
This commit is contained in:
@@ -2728,6 +2728,7 @@ PeriodicTableSim.prototype._switchInteractiveMode = function(modeId) {
|
||||
c.addEventListener('mouseleave', function() { c.style.filter = ''; c.style.transform = ''; c.style.zIndex = ''; });
|
||||
c.addEventListener('click', function() { self._selectElement(z); });
|
||||
})(clone, el.Z);
|
||||
if (!div.parentNode) continue;
|
||||
div.parentNode.replaceChild(clone, div);
|
||||
this._cellMap[el.Z] = clone;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user