Use one call to .attr instead of two and linebreak consistency
authorDerk-Jan Hartman <hartman@videolan.org>
Sun, 28 Jul 2013 13:53:40 +0000 (15:53 +0200)
committerDerk-Jan Hartman <hartman@videolan.org>
Sun, 28 Jul 2013 20:13:27 +0000 (22:13 +0200)
Follow-up to: I2b937eba605b7e6a98612a02c75eb9e7f347752

Change-Id: I45254ad2fee63918763cc7662523b80c26418177

resources/jquery/jquery.tablesorter.js

index 863d8ec..190ad1a 100644 (file)
                        if ( !this.sortDisabled ) {
                                $( this )
                                        .addClass( table.config.cssHeader )
-                                       .attr( 'title', msg[1] )
-                                       .prop( 'tabIndex', 0 ).attr( 'role', 'button' );
+                                       .prop( 'tabIndex', 0 )
+                                       .attr( {
+                                               role: 'button',
+                                               title: msg[1]
+                                       } );
                        }
 
                        // add cell to headerList