mirror of
https://github.com/processwire/processwire.git
synced 2025-08-11 09:14:58 +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() {
|
timer = setTimeout(function() {
|
||||||
clicks = 0;
|
clicks = 0;
|
||||||
allowClick = true;
|
allowClick = true;
|
||||||
$a[0].trigger('click');
|
$a[0].click(); // JS, not jQuery click() event
|
||||||
return true;
|
return true;
|
||||||
}, 700);
|
}, 700);
|
||||||
} else {
|
} else {
|
||||||
|
File diff suppressed because one or more lines are too long
Reference in New Issue
Block a user