Merge "registration: Only allow one extension to set a specific config setting"
[lhc/web/wiklou.git] / resources / src / mediawiki.special / mediawiki.special.import.js
index 3357461..2cb96af 100644 (file)
@@ -11,7 +11,7 @@
                        option, options;
 
                if ( $selected.attr( 'data-subprojects' ) ) {
-                       options = $.map( $selected.attr( 'data-subprojects' ).split( ' ' ), function ( el ) {
+                       options = $selected.attr( 'data-subprojects' ).split( ' ' ).map( function ( el ) {
                                option = document.createElement( 'option' );
                                option.appendChild( document.createTextNode( el ) );
                                option.setAttribute( 'value', el );