Bug 1192788 - Can't install add-on panel at position 0. r=margaret

--HG--
extra : amend_source : 6fe6839cff3763fd35b64c1a1814a3c81bc0f3d8
This commit is contained in:
Tushar Saini 2016-03-18 09:20:07 +05:30
parent 88169859cd
commit 55bca2eed6

View File

@ -381,7 +381,7 @@ var HomePanels = (function () {
}
}
if (options.position && typeof options.position === "number") {
if (options.position >= 0) {
this.position = options.position;
}
}