[Local benchmark] Fix run button (#7575)

BUG

* Fix run button

* Update index.html
This commit is contained in:
Linchenn 2023-04-11 17:36:03 -07:00 committed by GitHub
parent ef89355b04
commit 237a99104e
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 2 additions and 2 deletions

View File

@ -164,10 +164,10 @@ limitations under the License.
numProfilesController.setValue(urlState.get('profile'));
// Only auto run when URI component exists.
if (correctnessButton != null && task == 'correctness') {
correctnessButton.domElement.click();
correctnessButton.$button.click();
}
if (runButton != null && task == 'performance') {
runButton.domElement.click();
runButton.$button.click();
}
}