TheDJ has uploaded a new change for review.

  https://gerrit.wikimedia.org/r/76345


Change subject: Use one call to .attr instead of two and linebreak consistency
......................................................................

Use one call to .attr instead of two and linebreak consistency

Follow-up to: I2b937eba605b7e6a98612a02c75eb9e7f347752

Change-Id: I45254ad2fee63918763cc7662523b80c26418177
---
M resources/jquery/jquery.tablesorter.js
1 file changed, 5 insertions(+), 2 deletions(-)


  git pull ssh://gerrit.wikimedia.org:29418/mediawiki/core 
refs/changes/45/76345/1

diff --git a/resources/jquery/jquery.tablesorter.js 
b/resources/jquery/jquery.tablesorter.js
index 863d8ec..a3293ce 100644
--- a/resources/jquery/jquery.tablesorter.js
+++ b/resources/jquery/jquery.tablesorter.js
@@ -345,8 +345,11 @@
                        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

-- 
To view, visit https://gerrit.wikimedia.org/r/76345
To unsubscribe, visit https://gerrit.wikimedia.org/r/settings

Gerrit-MessageType: newchange
Gerrit-Change-Id: I45254ad2fee63918763cc7662523b80c26418177
Gerrit-PatchSet: 1
Gerrit-Project: mediawiki/core
Gerrit-Branch: master
Gerrit-Owner: TheDJ <[email protected]>

_______________________________________________
MediaWiki-commits mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits

Reply via email to