Fix the jQuery migration warnings
Remove the spaces in the beginning of html template strings. $( html ) require html to start with '<' See https://bugzilla.wikimedia.org/show_bug.cgi?id=65400 Change-Id: I93eaf41390ab72fcae1b8d4015585bc4f82e6f8a
This commit is contained in:
@@ -25,8 +25,7 @@
|
||||
|
||||
// Region numbers in id attributes also appear in the langdb.
|
||||
/*jshint multistr:true */
|
||||
template = '\
|
||||
<div class="grid uls-menu uls-wide"> \
|
||||
template = '<div class="grid uls-menu uls-wide"> \
|
||||
<div class="row"> \
|
||||
<span id="uls-close" class="icon-close"></span> \
|
||||
</div> \
|
||||
@@ -76,7 +75,7 @@
|
||||
</div>\
|
||||
<div class="row uls-language-list"></div>\
|
||||
<div class="row" id="settings-block"></div>\
|
||||
</div> ';
|
||||
</div>';
|
||||
/*jshint multistr:false */
|
||||
|
||||
/**
|
||||
|
||||
@@ -25,8 +25,7 @@
|
||||
var noResultsTemplate, LanguageCategoryDisplay;
|
||||
|
||||
/*jshint multistr:true */
|
||||
noResultsTemplate = '\
|
||||
<div class="twelve columns uls-no-results-view hide">\
|
||||
noResultsTemplate = '<div class="twelve columns uls-no-results-view hide">\
|
||||
<h2 data-i18n="uls-no-results-found" class="eleven columns offset-by-one uls-no-results-found-title">\
|
||||
No results found\
|
||||
</h2>\
|
||||
|
||||
Reference in New Issue
Block a user