mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-11-25 13:51:41 +00:00
Bug 474309 - error using zoomValues. r=gavin
This commit is contained in:
parent
7551d23393
commit
ea52bf9c53
@ -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();
|
||||
|
Loading…
Reference in New Issue
Block a user