mirror of
https://github.com/zadam/trilium.git
synced 2025-11-03 20:06:08 +01:00
touch protected session during note update
This commit is contained in:
@@ -57,7 +57,10 @@ class BasicWidget extends Component {
|
||||
for (const key in this.attrs) {
|
||||
if (key === 'style') {
|
||||
if (this.attrs[key]) {
|
||||
$widget.attr(key, $widget.attr('style') + ';' + this.attrs[key]);
|
||||
let style = $widget.attr('style');
|
||||
style = style ? `${style}; ${this.attrs[key]}` : this.attrs[key];
|
||||
|
||||
$widget.attr(key, style);
|
||||
}
|
||||
}
|
||||
else {
|
||||
|
||||
Reference in New Issue
Block a user