mirror of
				https://github.com/zadam/trilium.git
				synced 2025-10-31 02:16:05 +01:00 
			
		
		
		
	client: add a CSS class to facilitate identifying visible widgets
This commit is contained in:
		| @@ -206,7 +206,8 @@ export class TypedBasicWidget<T extends TypedComponent<any>> extends TypedCompon | |||||||
|     doRender() {} |     doRender() {} | ||||||
|  |  | ||||||
|     toggleInt(show: boolean | null | undefined) { |     toggleInt(show: boolean | null | undefined) { | ||||||
|         this.$widget.toggleClass("hidden-int", !show); |         this.$widget.toggleClass("hidden-int", !show) | ||||||
|  |                     .toggleClass("visible", !!show); | ||||||
|     } |     } | ||||||
|  |  | ||||||
|     isHiddenInt() { |     isHiddenInt() { | ||||||
| @@ -214,7 +215,8 @@ export class TypedBasicWidget<T extends TypedComponent<any>> extends TypedCompon | |||||||
|     } |     } | ||||||
|  |  | ||||||
|     toggleExt(show: boolean) { |     toggleExt(show: boolean) { | ||||||
|         this.$widget.toggleClass("hidden-ext", !show); |         this.$widget.toggleClass("hidden-ext", !show) | ||||||
|  |                     .toggleClass("visible", !!show); | ||||||
|     } |     } | ||||||
|  |  | ||||||
|     isHiddenExt() { |     isHiddenExt() { | ||||||
|   | |||||||
		Reference in New Issue
	
	Block a user