JS IDL2K better callbacks support + bugfixes according to review
This commit is contained in:
committed by
Sergey Mashkov
parent
a11e0a84b5
commit
0ce1edd417
@@ -170,7 +170,7 @@ public fun Element.addClass(vararg cssClasses: String): Boolean {
|
||||
val presentClasses = classes.trim()
|
||||
classes = StringBuilder {
|
||||
append(presentClasses)
|
||||
if (presentClasses != "") {
|
||||
if (!presentClasses.isEmpty()) {
|
||||
append(" ")
|
||||
}
|
||||
missingClasses.joinTo(this, " ")
|
||||
|
||||
Reference in New Issue
Block a user