jenkins-bot has submitted this change and it was merged.

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(-)

Approvals:
  Nikerabbit: Looks good to me, approved
  jenkins-bot: Verified



diff --git a/resources/jquery/jquery.tablesorter.js 
b/resources/jquery/jquery.tablesorter.js
index 863d8ec..190ad1a 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: merged
Gerrit-Change-Id: I45254ad2fee63918763cc7662523b80c26418177
Gerrit-PatchSet: 2
Gerrit-Project: mediawiki/core
Gerrit-Branch: master
Gerrit-Owner: TheDJ <[email protected]>
Gerrit-Reviewer: Nikerabbit <[email protected]>
Gerrit-Reviewer: jenkins-bot

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

Reply via email to