mirror of
https://github.com/pulsar-edit/pulsar.git
synced 2024-11-09 13:15:37 +03:00
Use previously assigned styleElement.textContent
This commit is contained in:
parent
a2a2a063b7
commit
3f65a38da0
@ -160,11 +160,9 @@ module.exports = class StyleManager {
|
||||
}
|
||||
}
|
||||
|
||||
if (params.skipDeprecatedMathUsageTransformation) {
|
||||
styleElement.textContent = source;
|
||||
} else {
|
||||
if (!params.skipDeprecatedMathUsageTransformation) {
|
||||
const transformed = this.upgradeDeprecatedMathUsageForStyleSheet(
|
||||
source,
|
||||
styleElement.textContent,
|
||||
params.context
|
||||
);
|
||||
styleElement.textContent = transformed.source;
|
||||
|
Loading…
Reference in New Issue
Block a user