mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-11-26 14:22:01 +00:00
Bug 1192788 - Can't install add-on panel at position 0. r=margaret
--HG-- extra : amend_source : 6fe6839cff3763fd35b64c1a1814a3c81bc0f3d8
This commit is contained in:
parent
88169859cd
commit
55bca2eed6
@ -381,7 +381,7 @@ var HomePanels = (function () {
|
||||
}
|
||||
}
|
||||
|
||||
if (options.position && typeof options.position === "number") {
|
||||
if (options.position >= 0) {
|
||||
this.position = options.position;
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user