mirror of
https://github.com/ether/etherpad-lite.git
synced 2025-05-09 08:25:00 -04:00
jQuery: Migrate to .on()
, .off()
, .trigger()
This avoids methods that are deprecated in newer versions of jQuery.
This commit is contained in:
parent
2f5b6b80e1
commit
d5b981719f
47 changed files with 195 additions and 195 deletions
|
@ -20,7 +20,7 @@ describe('undo button', function () {
|
|||
// get clear authorship button as a variable
|
||||
const $undoButton = chrome$('.buttonicon-undo');
|
||||
// click the button
|
||||
$undoButton.click();
|
||||
$undoButton.trigger('click');
|
||||
|
||||
await helper.waitForPromise(() => inner$('div span').first().text() === originalValue);
|
||||
});
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue