You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@whimsical.apache.org by se...@apache.org on 2022/12/06 22:37:24 UTC
[whimsy] branch master updated: Replace deprecated click() calls
This is an automated email from the ASF dual-hosted git repository.
sebb pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/whimsy.git
The following commit(s) were added to refs/heads/master by this push:
new 68ec8e90 Replace deprecated click() calls
68ec8e90 is described below
commit 68ec8e909d650bb9c215e0bc03733d94c5c0cdda
Author: Sebb <se...@apache.org>
AuthorDate: Tue Dec 6 22:37:15 2022 +0000
Replace deprecated click() calls
---
www/status/js/status.js | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/www/status/js/status.js b/www/status/js/status.js
index 69aa22ee..0e7e9720 100644
--- a/www/status/js/status.js
+++ b/www/status/js/status.js
@@ -93,11 +93,11 @@ $(function() {
// expand all parents
element.parents('.list-group').each(function() {
- $('a[href="#' + this.getAttribute('id') + '"]').click();
+ $('a[href="#' + this.getAttribute('id') + '"]').trigger('click');
});
// expand this item
- element.click()
+ element.trigger('click');
// scroll to this item
$('html, body').animate({scrollTop: element.offset().top}, 1000);