Skip to content

Commit

Permalink
bypass css text
Browse files Browse the repository at this point in the history
This is a leftover from MithrilJS#2811.
  • Loading branch information
kfule committed Feb 4, 2025
1 parent 1e8850d commit f944a7e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion render/render.js
Original file line number Diff line number Diff line change
Expand Up @@ -758,7 +758,7 @@ module.exports = function() {
element.style = style
} else if (old == null || typeof old !== "object") {
// `old` is missing or a string, `style` is an object.
element.style.cssText = ""
element.style = ""
// Add new style properties
for (var key in style) {
var value = style[key]
Expand Down

0 comments on commit f944a7e

Please sign in to comment.