Scaffold: Run/delete tests with the keyboard (#2118)

This commit is contained in:
Abe Jellinek 2021-07-09 00:42:08 -07:00 committed by GitHub
parent 1c61c86801
commit f942c224f5
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
3 changed files with 17 additions and 3 deletions

View file

@ -604,6 +604,16 @@ var Scaffold = new function() {
}
}
this.runTranslatorOrTests = async function () {
var tabs = document.getElementById('tabs');
if (tabs.selectedItem.id == 'tab-testing') {
this.runSelectedTests();
}
else {
this.run('do');
}
}
/*
* generate translator GUID
*/