diff --git a/browser/components/customizableui/src/CustomizableWidgets.jsm b/browser/components/customizableui/src/CustomizableWidgets.jsm index 9e8baa00a126..1bac19b2eee8 100644 --- a/browser/components/customizableui/src/CustomizableWidgets.jsm +++ b/browser/components/customizableui/src/CustomizableWidgets.jsm @@ -503,7 +503,7 @@ const CustomizableWidgets = [{ // tabbrowser. This breaks the zoom toolkit code (see bug 897410). Don't let that happen: let zoomFactor = 100; try { - zoomFactor = Math.floor(window.ZoomManager.zoom * 100); + zoomFactor = Math.round(window.ZoomManager.zoom * 100); } catch (e) {} zoomResetButton.setAttribute("label", CustomizableUI.getLocalizedProperty( buttons[1], "label", [updateDisplay ? zoomFactor : 100]