Merge "Skin: Make skins aware of their registered skin name"
[lhc/web/wiklou.git] / resources / src / jquery / jquery.localize.js
index 05b3891..b1bf0f4 100644 (file)
                // Attributes
                // Note: there's no way to prevent escaping of values being injected into attributes, this is
                // on purpose, not a design flaw.
-               $.each( attributes, function ( i, attr ) {
+               attributes.forEach( function ( attr ) {
                        var msgAttr = attr + '-msg';
                        $target.find( '[' + msgAttr + ']' ).each( function () {
                                var $el = $( this );