Merge "Revert "Remove old remapping hacks from Database::indexName()""
[lhc/web/wiklou.git] / resources / src / jquery / jquery.mw-jump.js
index e286834..5eae0be 100644 (file)
@@ -6,9 +6,9 @@ jQuery( function ( $ ) {
        $( '.mw-jump' ).on( 'focus blur', 'a', function ( e ) {
                // Confusingly jQuery leaves e.type as focusout for delegated blur events
                if ( e.type === 'blur' || e.type === 'focusout' ) {
-                       $( this ).closest( '.mw-jump' ).css({ height: 0 });
+                       $( this ).closest( '.mw-jump' ).css( { height: 0 } );
                } else {
-                       $( this ).closest( '.mw-jump' ).css({ height: 'auto' });
+                       $( this ).closest( '.mw-jump' ).css( { height: 'auto' } );
                }
        } );