[DEV-8927] Improve summary page performance with new element queries in TAME

master
Corey Vollmer 2020-11-30 16:18:26 -05:00
commit eb2951d8ba
2 changed files with 6 additions and 2 deletions

View File

@ -13,6 +13,10 @@ TAME developers: Add new changes under a "NEXT" heading as part of the
commits that introduce the changes. To make a new release, run
`tools/mkrelease`, which will handle updating the heading for you.
NEXT
====================
Improve summary page performance with new element queries.
v17.6.4 (2020-11-23)
====================

View File

@ -1422,7 +1422,7 @@ var client = ( function()
if ( !( Array.isArray( fdata ) ) )
{
var element = document.querySelector(
'[name="' + field + '"]'
'#param-input-' + field + ' [name="' + field + '"]'
);
if ( element )
@ -1434,7 +1434,7 @@ var client = ( function()
}
var elements = document.querySelectorAll(
'[name="' + field + '[]"]'
'#param-input-' + field + ' [name="' + field + '[]"]'
);
var total = 0;