mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07:00
Bug 577387: cleanup: removed a couple other instances of iQ.each
This commit is contained in:
parent
838d1d56b5
commit
d02d1fb82e
@ -300,7 +300,7 @@ window.Group = function(listOfEls, options) {
|
||||
this.$debug.css({zIndex: -1000});
|
||||
|
||||
// ___ Children
|
||||
iQ.each(listOfEls, function(index, el) {
|
||||
Array.prototype.forEach.call(listOfEls, function(el) {
|
||||
self.add(el, null, options);
|
||||
});
|
||||
|
||||
|
@ -1088,7 +1088,7 @@ UIClass.prototype = {
|
||||
function putInGroup(set, key) {
|
||||
var group = Groups.getGroupWithTitle(key);
|
||||
if (group) {
|
||||
iQ.each(set, function(index, el) {
|
||||
set.forEach(function(el) {
|
||||
group.add(el);
|
||||
});
|
||||
} else
|
||||
|
Loading…
Reference in New Issue
Block a user