mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07:00
Bug 1122430 - Use for..of iteration instead of Array.forEach in ctrlTab.suspendGUI. r=dao
This commit is contained in:
parent
cf8cf274c6
commit
1e21312b56
@ -399,9 +399,9 @@ var ctrlTab = {
|
||||
suspendGUI: function ctrlTab_suspendGUI() {
|
||||
document.removeEventListener("keyup", this, true);
|
||||
|
||||
Array.forEach(this.previews, function (preview) {
|
||||
for (let preview of this.previews) {
|
||||
this.updatePreview(preview, null);
|
||||
}, this);
|
||||
}
|
||||
},
|
||||
|
||||
onKeyPress: function ctrlTab_onKeyPress(event) {
|
||||
|
Loading…
Reference in New Issue
Block a user