diff --git a/toolkit/content/viewZoomOverlay.js b/toolkit/content/viewZoomOverlay.js index 8359bc3f1c5c..dca8d2ad1fb5 100644 --- a/toolkit/content/viewZoomOverlay.js +++ b/toolkit/content/viewZoomOverlay.js @@ -106,7 +106,7 @@ var ZoomManager = { get zoomValues ZoomManager_get_zoomValues() { var zoomValues = this._prefBranch.getCharPref("toolkit.zoomManager.zoomValues") .split(",").map(parseFloat); - zoomValues.sort(); + zoomValues.sort(function (a, b) a - b); while (zoomValues[0] < this.MIN) zoomValues.shift();