From cafe908d07572de1032511f7d51f53023b5fb201 Mon Sep 17 00:00:00 2001 From: Amire80 Date: Sun, 4 Dec 2016 11:40:45 +0200 Subject: [PATCH] Move the message attribute to the correct element Follow up to https://github.com/wikimedia/jquery.uls/pull/243 , addressing a comment by @Nikerabbit. --- src/jquery.uls.lcd.js | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/src/jquery.uls.lcd.js b/src/jquery.uls.lcd.js index a97599b..2295e17 100644 --- a/src/jquery.uls.lcd.js +++ b/src/jquery.uls.lcd.js @@ -35,11 +35,12 @@ .addClass( 'uls-no-found-more' ) .append( $( '
' ) - .attr( 'data-i18n', 'uls-search-help' ) .addClass( '' ) .append( $( '

' ).append( - $( '' ).text( 'You can search by language name, script name, ISO code of language or you can browse by region.' ) + $( '' ) + .attr( 'data-i18n', 'uls-search-help' ) + .text( 'You can search by language name, script name, ISO code of language or you can browse by region.' ) ) ) )