1
0
mirror of https://github.com/processwire/processwire.git synced 2025-08-09 16:26:59 +02:00

Fix issue in PageFrontEdit.js where trigger() was being called on non-jQuery element, converted to JS click()

This commit is contained in:
Ryan Cramer
2023-07-06 12:32:37 -04:00
parent 2759109de5
commit 52ac627506
2 changed files with 2 additions and 2 deletions

View File

@@ -148,7 +148,7 @@ function PageFrontEditInit($) {
timer = setTimeout(function() {
clicks = 0;
allowClick = true;
$a[0].trigger('click');
$a[0].click(); // JS, not jQuery click() event
return true;
}, 700);
} else {

File diff suppressed because one or more lines are too long