From a985d33d4b973d372b915f492f8ba8efa27a8ae9 Mon Sep 17 00:00:00 2001 From: Santhosh Thottingal Date: Fri, 1 Nov 2013 10:47:16 +0530 Subject: [PATCH] Use attr and prop consistently Change-Id: If650d07686cafb6fceba60186843b5599404846c --- src/jquery.uls.lcd.js | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/jquery.uls.lcd.js b/src/jquery.uls.lcd.js index 40f8d9a..25178c1 100644 --- a/src/jquery.uls.lcd.js +++ b/src/jquery.uls.lcd.js @@ -102,7 +102,7 @@ dir: $.uls.data.getDir( langCode ) } ) .append( - $( '' ).prop( 'title', language ).text( langName ) + $( '' ).attr( 'title', language ).text( langName ) ); // Append the element to the column in the list @@ -175,7 +175,7 @@ }; $.each( $.uls.data.regiongroups, function ( regionCode ) { - $section = $( '
' ).addClass( 'twelve columns uls-lcd-region-section' ).prop( 'id', regionCode ); + $section = $( '
' ).addClass( 'twelve columns uls-lcd-region-section' ).attr( 'id', regionCode ); $sectionTitle = $( '

' ) .attr( 'data-i18n', 'uls-region-' + regionCode ) @@ -213,7 +213,7 @@ quickList = quickList.slice( 0, 16 ); quickList.sort( $.uls.data.sortByAutonym ); - $quickListSection = $( '
' ).addClass( 'twelve columns uls-lcd-region-section' ).prop( 'id', 'uls-lcd-quicklist' ); + $quickListSection = $( '