mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-10-22 17:55:50 +00:00
Bug 806770 - Fix strict mode warning in richlistbox.xml. r=Yoric
This commit is contained in:
parent
494bd17ae6
commit
8f46f75d45
@ -60,7 +60,7 @@
|
||||
// remember the current item and all selected items with IDs
|
||||
var state = this.currentItem ? this.currentItem.id : "";
|
||||
if (this.selType == "multiple" && this.selectedCount) {
|
||||
function getId(aItem) { return aItem.id; }
|
||||
let getId = function getId(aItem) { return aItem.id; }
|
||||
state += " " + this.selectedItems.filter(getId).map(getId).join(" ");
|
||||
}
|
||||
if (state)
|
||||
|
Loading…
Reference in New Issue
Block a user