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:
@@ -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
Reference in New Issue
Block a user