mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07:00
Bug 806770 - Fix strict mode warning in richlistbox.xml. r=Yoric
This commit is contained in:
parent
39c2cfbb13
commit
9a4238f55d
@ -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