mirror of
https://github.com/zadam/trilium.git
synced 2025-11-09 23:05:51 +01:00
always use template strings instead of string concatenation
This commit is contained in:
@@ -281,7 +281,7 @@ export default class GlobalMenuWidget extends BasicWidget {
|
||||
const zoomFactor = utils.dynamicRequire('electron').webFrame.getZoomFactor();
|
||||
const zoomPercent = Math.round(zoomFactor * 100);
|
||||
|
||||
this.$zoomState.text(zoomPercent + "%");
|
||||
this.$zoomState.text(`${zoomPercent}%`);
|
||||
}
|
||||
|
||||
async updateVersionStatus() {
|
||||
|
||||
Reference in New Issue
Block a user