note paths is now on the left side and showing current path

This commit is contained in:
zadam
2020-04-07 22:53:03 +02:00
parent f8bd55374f
commit 6cc3e3cdf6
7 changed files with 81 additions and 17 deletions

View File

@@ -55,7 +55,12 @@ class BasicWidget extends Component {
}
for (const key in this.attrs) {
$widget.attr(key, this.attrs[key]);
if (key === 'style') {
$widget.attr(key, $widget.attr('style') + ';' + this.attrs[key]);
}
else {
$widget.attr(key, this.attrs[key]);
}
}
for (const className of this.classes) {