MDL-72828 js: get_strings supports jquery objects

This commit is contained in:
David Woloszyn
2022-10-21 13:47:34 +11:00
parent f8d28e4ca6
commit bbe528c1ad
3 changed files with 3 additions and 3 deletions
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
+1 -1
View File
@@ -408,7 +408,7 @@ function(
var pageItems = root.find(SELECTORS.PAGE_ITEM);
// We want to request all of the strings at once rather than
// one at a time.
var stringRequests = pageItems.map(function(index, page) {
var stringRequests = pageItems.toArray().map(function(index, page) {
page = $(page);
var pageNumber = getPageNumber(root, page);