mirror of
https://github.com/ether/etherpad-lite.git
synced 2025-04-22 16:36:15 -04:00
tests: refactor inclusion of jquery and sendkeys via script tags
Readability is increased by explicitly checking if jquery/sendkeys was already loaded before evaluating it in the context of ace_inner and the enclosing container (pad.html). Note that sendkeys is no longer evaluated in the context of ace_outer, as this isn't needed Also removes some IE 8/9 legacy code
This commit is contained in:
parent
4ceb3ca4c8
commit
62093adce5
4 changed files with 51 additions and 44 deletions
|
@ -314,7 +314,6 @@ $(() => (async () => {
|
|||
}
|
||||
$progressArea.remove();
|
||||
|
||||
await helper.init();
|
||||
const grep = getURLParameter('grep');
|
||||
if (grep != null) {
|
||||
mocha.grep(grep);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue